Mike Tammerman wrote: > Hi, > > I am trying to execute an executable or a pyton script inside my > program. I looked at the subprocess and os module. But all the > functions in these modules blocks my application. subprocess doesn't block unless you call .wait(): from subprocess import Popen proc = Popen('sleep 2; echo "Hello, world!"', shell=True) print "In two seconds, something will happen." proc.wait() print "Did you see that?"
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4