def _RunCommand(args):
 logging.info('$ %s', ' '.join(args))
 p = subprocess.Popen(args)
 if (p.wait() != 0):
  sys.exit(p.returncode)

def _RunCommand ( args ) : logging . info ( '$ %s' , ' ' . join ( args ) ) p = subprocess . Popen ( args ) if ( p . wait ( ) != 0 ) : sys . exit ( p . returncode )
runs specified args as a subprocess .