Another easy way to get a returncode without polling is to call communicate().
returncode will be set when it returns from communicate().
Another easy way to get a returncode without polling is to call communicate().
returncode will be set when it returns from communicate().