« Previous | Next » 

Revision 113b55aa

ID113b55aa450a4d28e217ef484bf619f1f9370c5a
Parent 7fcf849f
Child 04daec5d

Added by Iustin Pop about 15 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
environment.

Reviewed-by: imsnah

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences