Skip to content

Conversation

TheLostLambda
Copy link

Prior to this commit, selecting a workDir with spaces or other special Bash characters in the pathname — like (, ), etc — would result in cd $NXF_TASK_WORKDIR failing. Now $NXF_TASK_WORKDIR is correctly quoted in the generated .output.run scripts.

I just got into Nextflow yesterday, and this is my first time touching Groovy code, so let me know if you'd like to see this fix implemented in some other way!

Prior to this commit, selecting a workDir with spaces or other special
Bash characters in the pathname — like `(`, `)`, etc — would result in
`cd $NXF_TASK_WORKDIR` failing. Now `$NXF_TASK_WORKDIR` is correctly
quoted in the generated `.output.run` scripts.

Signed-off-by: Brooks J Rady <b.j.rady@gmail.com>
Copy link

netlify bot commented Sep 23, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 8d3b4c1
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68d2b1462ecbfb00082eb771

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

Successfully merging this pull request may close these issues.

2 participants