The command's output is only available if the command was executed with runCollect. If it was executed with run, then Scriptlike doesn't have access to the output since it was simply sent straight to stdout/stderr.
See Implementation
The command's output is only available if the command was executed with runCollect. If it was executed with run, then Scriptlike doesn't have access to the output since it was simply sent straight to stdout/stderr.