Skip to content

Commit 6927b87

Browse files
committed
clarify stdout & stderr when no filename is specified
1 parent abac35b commit 6927b87

File tree

1 file changed

+49
-10
lines changed

1 file changed

+49
-10
lines changed

draft-4/CommandLineTool.yml

Lines changed: 49 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -385,15 +385,33 @@ $graph:
385385
is equivalent to
386386
```
387387
outputs:
388-
an_output_name:
389-
type: File
390-
outputBinding:
391-
glob: a_stdout_file
388+
an_output_name:
389+
type: File
390+
streamable: true
391+
outputBinding:
392+
glob: a_stdout_file
392393
393394
stdout: a_stdout_file
394395
```
395396
396397
If there is no `stdout` name provided, a random filename will be created.
398+
For example, the following
399+
```
400+
outputs:
401+
an_output_name:
402+
type: stdout
403+
```
404+
is equivalent to
405+
```
406+
outputs:
407+
an_output_name:
408+
type: File
409+
streamable: true
410+
outputBinding:
411+
glob: random_stdout_filenameABCDEFG
412+
413+
stdout: random_stdout_filenameABCDEFG
414+
```
397415
398416
399417
- name: stderr
@@ -407,21 +425,42 @@ $graph:
407425
The following
408426
```
409427
outputs:
410-
an_output_name:
411-
type: stderr
428+
an_output_name:
429+
type: stderr
412430
413431
stderr: a_stderr_file
414432
```
415433
is equivalent to
416434
```
417435
outputs:
418-
an_output_name:
419-
type: File
420-
outputBinding:
421-
glob: a_stderr_file
436+
an_output_name:
437+
type: File
438+
streamable: true
439+
outputBinding:
440+
glob: a_stderr_file
441+
442+
stderr: a_stderr_file
422443
```
423444
424445
If there is no `stderr` name provided, a random filename will be created.
446+
For example, the following
447+
```
448+
outputs:
449+
an_output_name:
450+
type: stderr
451+
```
452+
is equivalent to
453+
```
454+
outputs:
455+
an_output_name:
456+
type: File
457+
streamable: true
458+
outputBinding:
459+
glob: random_stderr_filenameABCDEFG
460+
461+
stderr: random_stderr_filenameABCDEFG
462+
```
463+
425464
426465
- type: record
427466
name: CommandLineTool

0 commit comments

Comments
 (0)