« Previous | Next » 

Revision 113b55aa

Parent 7fcf849f
Child 04daec5d

Added by Iustin Pop almost 17 years ago

Switch utils.RunCmd from popen2 to subprocess

This changes the implementation of RunCmd from using the popen2 module
to using the (new in 2.4) subprocess module.

This is helpful because the subprocess module has more advanced features
than popen2, the most important ones being the ability to run code in the
child process before the exec and ability to launch with modified

Reviewed-by: imsnah


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences