In the following examples, you can use "dry run mode" to determine the command line that @run-command@ will use without actually running the command. For example:
<notextile>
-<pre><code>~$ <span class="userinput">./run-command --dry-run --script-parameters '{
+<pre><code>~$ <span class="userinput">cd $HOME/arvados/crunch_scripts</span>
+~$ <span class="userinput">./run-command --dry-run --script-parameters '{
"command": ["echo", "hello world"]
}'</span>
run-command: echo hello world
"regex": "[^a]*(a?).*"},
"command": ["echo", {"foreach": "$(b)",
"var": "b_var",
- "command": ["--group",
- {"foreach": "$(b_var)",
- "var": "c_var",
- "command": "$(c_var)"}]}]
+ "command": ["--group", "$(b_var)"]}]
}
</pre>