Skip to content

Make bash script executable for htcondor #40

@Mael-Le-Garrec

Description

@Mael-Le-Garrec

Some instances of htcondor need an executable flag for the bash script, like the one used by the CNRS IN2P3.

Code to be added around there:

f.write(f'{cp_command}\n')
shell_scripts[idx] = bash_file_name

This fixes it, probably needs a check for windows as well

status = _start_subprocess(["chmod", "+x", f"{jobfile}"])

Metadata

Metadata

Assignees

Labels

Estimate: EasyGood first issue for newcomers. Straightforward fixes.Priority: MediumWork on this.Type: FeatureA (suggetion for a) new feature or enhancement in functionality.Type: ReleaseIssue preparing for a release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions