File tree 3 files changed +30
-6
lines changed
3 files changed +30
-6
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,23 @@ command line:
35
35
36
36
~~~
37
37
$ cwl-runner env.cwl echo-job.yml
38
- [job 140710387785808] /home/example$ env
39
- PATH=/bin:/usr/bin:/usr/local/bin
38
+ [job env.cwl] /home/example$ env > /home/example/output.txt
39
+ [job env.cwl] completed success
40
+ {
41
+ "example_out": {
42
+ "location": "file:///home/example/output.txt",
43
+ "basename": "output.txt",
44
+ "class": "File",
45
+ "checksum": "sha1$1ca16a840b14807b2fd3323022c476b06a150e2f",
46
+ "size": 94,
47
+ "path": "/home/example/output.txt"
48
+ }
49
+ }
50
+ Final process status is success
51
+ $ cat output.txt
40
52
HELLO=Hello world!
53
+ PATH=/bin:/usr/bin:/usr/local/bin
54
+ HOME=/home/example
41
55
TMPDIR=/tmp/tmp63Obpk
42
- Final process status is success
43
- {}
44
56
~~~
45
57
{: .output}
Original file line number Diff line number Diff line change @@ -9,4 +9,7 @@ requirements:
9
9
HELLO: $(inputs.message)
10
10
inputs :
11
11
message: string
12
- outputs : []
12
+ outputs :
13
+ example_out:
14
+ type : stdout
15
+ stdout : output.txt
Original file line number Diff line number Diff line change 129
129
location : Any
130
130
size : 22
131
131
132
- # Section 12 depends on side-effects
132
+ # Section 12
133
+ - doc : Test for section 12
134
+ job : 12-env/echo-job.yml
135
+ tool : 12-env/env.cwl
136
+ output :
137
+ example_out :
138
+ class : File
139
+ basename : output.txt
140
+ location : Any
141
+
133
142
# Section 13 depends on side-effects
134
143
# Section 14 depends on side-effects
135
144
You can’t perform that action at this time.
0 commit comments