* The callback used to execute the task. Cancellation should be handled using the shutdown method of [TerminalVirtualProcess](#TerminalVirtualProcess).
* When the task is complete, onDidExit should be fired on the TerminalVirtualProcess with the exit code with '0' for success and a non-zero value for failure.
* The callback used to execute the task. Cancellation should be handled using
* [Pseudoterminal.shutdown](#Pseudoterminal.shutdown). When the task is complete,
* [Pseudoterminal.onDidExit](#Pseudoterminal.onDidExit) should be fired with the exit code
* with '0' for success and a non-zero value for failure.