SyntaxFix
Write A Post
Hire A Developer
Questions
You should first make sure that the process has completed running and the return code has been read out using the .wait method. This will return the code. If you want access to it later, it's stored as .returncode in the Popen object.
.wait
.returncode
Popen