Closed DanGrayson closed 3 years ago
That's the current intended behavior of runProgram
-- it raises an error if the program being run has a nonzero return value unless the RaiseError
option is false
:
i17 : runProgram(cat, "", RaiseError => false)
o17 = 15
o17 : ProgramRun
Ah, okay, thank you.
runProgram
, when a program is killed, returns no value.In this demo,
cat
waits for input, so I kill it withkillall -9 cat
.