Skip to content

Commit def0564

Browse files
committed
https://github.com/nf-core/tools/pull/3416
1 parent 50c9b6b commit def0564

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

nextflow.config

+8-8
Original file line numberDiff line numberDiff line change
@@ -344,14 +344,14 @@ env {
344344
}
345345

346346
// Set bash options
347-
process.shell = """\
348-
bash
349-
350-
set -e # Exit if a tool returns a non-zero status/exit code
351-
set -u # Treat unset variables and parameters as an error
352-
set -o pipefail # Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
353-
set -C # No clobber - prevent output redirection from overwriting files.
354-
"""
347+
process.shell = [
348+
"bash",
349+
"-C", // No clobber - prevent output redirection from overwriting files.
350+
"-e", // Exit if a tool returns a non-zero status/exit code
351+
"-u", // Treat unset variables and parameters as an error
352+
"-o",
353+
"pipefail" // Returns the status of the last command to exit with a non-zero status or zero if all successfully execute
354+
]
355355

356356
// Disable process selector warnings by default. Use debug profile to enable warnings.
357357
nextflow.enable.configProcessNamesValidation = false

0 commit comments

Comments
 (0)