KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
So I noticed subprocess.call while it waits for the command to finish before proceeding with the python script, I have no way of getting the stdout, except with subprocess.Popen . Are there any alternative function calls that would wait until it finishes? (I also tried Popen.wait ) NOTE: I'm trying to avoid os.system call result = subprocess.Popen([commands..., self.tmpfile.path()], stdout=subprocess.PIPE, stderr=subprocess.PIPE) out, err = result.communicate() print out+"HIHIHI" my output: HIHIHI NOTE: I am trying to run wine with this.
Tags (comma-separated)
Save Edits
Cancel