PID from process
Michael Hudson
mwh at python.net
Fri May 4 11:04:17 EDT 2001
"Eduardo Ferro" <eferro at inicia.es> writes:
> How can i get the pid of a process executed by a python script...
> For example i want to do a popen and to send signals to the process
> that i fork with the popen commnad
I don't think you can do this with vanilla popen. It's easy enough
with popen2.Popen3 though.
HTH,
M.
--
You sound surprised. We're talking about a government department
here - they have procedures, not intelligence.
-- Ben Hutchings, cam.misc
More information about the Python-list
mailing list