code: def subp(cmd):
      
      proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
                              stderr=subprocess.PIPE)
      out, err = proc.communicate()
      return ReturnTuple(proc.returncode, stdout=out, stderr=err)
docs: Run a command as a subprocess.
      Return a triple of return code, standard out, standard err.