@@ -56,8 +56,8 @@ $graph:
56
56
* When defining record types with `CommandInputRecordSchema`, fields of
57
57
type `File` may now include `format`, `loadContents`,
58
58
`secondaryFiles` and `streamable`.
59
- * `CommandInputRecordSchema`, `CommandOutputRecordSchema`,
60
- `CommandInputEnumSchema and `CommandInputArraySchema` now have an optional
59
+ * `CommandInputRecordSchema`, `CommandOutputRecordSchema`,
60
+ `CommandInputEnumSchema and `CommandInputArraySchema` now have an optional
61
61
`doc` field.
62
62
* `inputBinding` has been added as an optional field for
63
63
`CommandInputRecordSchema` (was previously in CWL `draft-3` but
@@ -102,6 +102,8 @@ $graph:
102
102
`Directory` listings should be loaded for use in expressions.
103
103
* The position field of the [CommandLineBinding](#CommandLineBinding) can
104
104
now be calculated from a CWL Expression.
105
+ * The exit code of a CommandLineTool invocation is now
106
+ available to expressions in `outputEval` as `runtime.exitCode`
105
107
106
108
See also the [CWL Workflow Description, v1.1.0-dev1 changelog](Workflow.html#Changelog).
107
109
@@ -324,13 +326,15 @@ $graph:
324
326
- string
325
327
- Expression
326
328
doc : |
327
- Evaluate an expression to generate the output value. If `glob` was
328
- specified, the value of `self` must be an array containing file objects
329
- that were matched. If no files were matched, `self` must be a zero
330
- length array; if a single file was matched, the value of `self` is an
331
- array of a single element. Additionally, if `loadContents` is `true`,
332
- the File objects must include up to the first 64 KiB of file contents
333
- in the `contents` field.
329
+ Evaluate an expression to generate the output value. If
330
+ `glob` was specified, the value of `self` must be an array
331
+ containing file objects that were matched. If no files were
332
+ matched, `self` must be a zero length array; if a single file
333
+ was matched, the value of `self` is an array of a single
334
+ element. Additionally, if `loadContents` is `true`, the File
335
+ objects must include up to the first 64 KiB of file contents
336
+ in the `contents` field. The exit code of the process is
337
+ available in the expression as `runtime.exitCode`.
334
338
335
339
- name : CommandLineBindable
336
340
type : record
0 commit comments