KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How do I retrieve the exit code when using Python's subprocess module and the communicate() method? Relevant code: import subprocess as sp data = sp.Popen(openRTSP + opts.split(), stdout=sp.PIPE).communicate()[0] Should I be doing this another way?
Tags (comma-separated)
Save Edits
Cancel