Skip to content

Commit 4eecd07

Browse files
author
Peter Amstutz
committed
Improve description of ShellCommandRequirement.
1 parent ccc71ff commit 4eecd07

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

draft-3/cwl-avro.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -2054,6 +2054,10 @@
20542054
name: ShellCommandRequirement
20552055
extends: "#ProcessRequirement"
20562056
doc: |
2057-
Modify the behavior of CommandLineTool to generate a shell command line
2058-
instead of a directly executable argument list. Enables use of shell
2059-
commands like pipes.
2057+
Modify the behavior of CommandLineTool to generate a single string
2058+
containing a shell command line. Each item in the argument list must be
2059+
joined into a string separated by single spaces and quoted to prevent
2060+
intepretation by the shell, unless `CommandLineBinding` for that argument
2061+
contains `shellQuote: false`. If `shellQuote: false` is specified, the
2062+
argument is joined into the command string without quoting, which allows
2063+
the use of shell metacharacters such as `|` for pipes.

0 commit comments

Comments
 (0)