duckscript/examples/exec.ds
Sagie Gur-Ari 6249efda49
0.1.0 (#1)
initial
2019-12-30 12:45:28 +02:00

13 lines
223 B
Plaintext

exec echo hello world
output = exec echo hello world
stdout = set ${output.stdout}
stderr = set ${output.stderr}
exit_code = set ${output.code}
echo stdout: ${stdout}
echo stderr: ${stderr}
echo exit code: ${exit_code}