how to get PID from subprocess library

Miki Tebeka miki.tebeka at gmail.com
Thu May 19 12:05:38 EDT 2011


The best module for doing such things is subprocess. And the Popen object has a pid attribute (http://docs.python.org/library/subprocess.html#subprocess.Popen.pid)



More information about the Python-list mailing list