Add returncode property; fix iteration terminating early.
The returncode is a useful property to be able to pull out. The iteration would terminate early if the process had already exited by the time that the call was made. We now follow the documentation and return the results until the buffer is empty.
Showing
Please register or sign in to comment