Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log file and comment string are not escaped #105

Open
denisalevi opened this issue Jun 20, 2024 · 0 comments
Open

Log file and comment string are not escaped #105

denisalevi opened this issue Jun 20, 2024 · 0 comments

Comments

@denisalevi
Copy link

call = (
f"sbatch --job-name {self.run_uuid} --output {slurm_logfile} --export=ALL "
f"--comment {job.name}"
)

the --comment and --output flags are not escaped, which is problematic for wildcards with spaces. Modifying it to
--output '{slurm_logfile}' and --comment '{job.name}' fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant