def output_subprocess_Popen(command, **params):
 if (('stdout' in params) or ('stderr' in params)):
  raise TypeError("don't use stderr or stdout with output_subprocess_Popen")
 params['stdout'] = subprocess.PIPE
 params['stderr'] = subprocess.PIPE
 p = subprocess_Popen(command, **params)
 out = p.communicate()
 return (out + (p.returncode,))

def output_subprocess_Popen ( command , ** params ) : if ( ( 'stdout' in params ) or ( 'stderr' in params ) ) : raise TypeError ( "don't use stderr or stdout with output_subprocess_Popen" ) params [ 'stdout' ] = subprocess . PIPE params [ 'stderr' ] = subprocess . PIPE p = subprocess_Popen ( command , ** params ) out = p . communicate ( ) return ( out + ( p . returncode , ) )
calls subprocess_popen .