How to get os.popen subprocess PID?
jhalttun at pp.htv.fi
Thu Sep 5 14:43:19 CEST 2002
I have a subprocess opened with os.popen, producing undefined length of
data. I want to read maybe some of this data and then get rid of the
subprocess, not waiting until the end of data. I have thought of
os.kill-ing the process. So far I haven't been able to determine how to
get the pid of the subprocess, required by os.kill .. Any pointers?
More information about the Python-list