Simply captures the output of the script executed by waitOnScript.
The standard io tuple provided by waitOnScript
The callback is executed each time we receive a new line from the standard output channel.
The callback is executed each time we receive a new line from the standard error channel.
Simply captures the output of the script executed by waitOnScript.