How to get os.popen subprocess PID?

Ricardo nospam at here
Thu Sep 5 20:04:12 CEST 2002


> Instead of using os.popen() you could import the popen2 module and use the
> Popen3 or Popen4 classes.
>
> Objects of these classes contain a 'pid' attribute.
>

Sorry, forgot to mention these classes are available on Unix only ...






More information about the Python-list mailing list