os.system and subprocess odd behavior

photonymous at gmail.com photonymous at gmail.com
Tue Dec 18 06:10:43 CET 2012

I hope I understand the question... but shouldn't you wait for the process to complete before exiting?

Something like:

pid = subprocess.Popen(...)

Otherwise, it'll exit before the background process is done. 

More information about the Python-list mailing list