Skip to content
  • Iustin Pop's avatar
    Switch utils.RunCmd from popen2 to subprocess · 113b55aa
    Iustin Pop authored
    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
    113b55aa