> 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 ...