chrome/updater/test/service/win/rpc_client.py
def RunAsSystem(command, env=None, cwd=None, timeout=90):
  """Runs the command as SYSTEM user.

  Args:
    command: The command to run. This argument will be forwarded to
      subprocess.Popen().
    env: Environment variables to pass to command.
    cwd: Working directory for the command.
    timeout: How long the child process should wait for UAC before timeout.

  Returns:
    (pid, exit_code, sdtout, stderr) tuple.
  """
  try:
    proxy = GetProxy()
    env = env or dict(os.environ)
    cwd = cwd or os.getcwd()
    return proxy.RunAsSystem(command, env, cwd, timeout)
  except RPCErrors as err:
    logging.exception(err)
    raise
Runs the command as SYSTEM user.

  Args:
    command: The command to run. This argument will be forwarded to
      subprocess.Popen().
    env: Environment variables to pass to command.
    cwd: Working directory for the command.
    timeout: How long the child process should wait for UAC before timeout.

  Returns:
    (pid, exit_code, sdtout, stderr) tuple.
  
Runs the command as SYSTEM user.
Runs the command as SYSTEM user .
def RunAsSystem(command, env=None, cwd=None, timeout=90):
  try:
    proxy = GetProxy()
    env = env or dict(os.environ)
    cwd = cwd or os.getcwd()
    return proxy.RunAsSystem(command, env, cwd, timeout)
  except RPCErrors as err:
    logging.exception(err)
    raise
def RunAsSystem ( command , env = None , cwd = None , timeout = 90 ) : try : proxy = GetProxy ( ) env = env or dict ( os . environ ) cwd = cwd or os . getcwd ( ) return proxy . RunAsSystem ( command , env , cwd , timeout ) except RPCErrors as err : logging . exception ( err ) raise
Runs the command as SYSTEM user.
Runs the command as SYSTEM user .
"""Runs the command as SYSTEM user.

  Args:
    command: The command to run. This argument will be forwarded to
      subprocess.Popen().
    env: Environment variables to pass to command.
    cwd: Working directory for the command.
    timeout: How long the child process should wait for UAC before timeout.

  Returns:
    (pid, exit_code, sdtout, stderr) tuple.
  """
(pid, exit_code, sdtout, stderr) tuple.
( pid exit_code sdtout stderr ) tuple .
command
The command to run. This argument will be forwarded to
subprocess.Popen().
The command to run . This argument will be forwarded to subprocess . Popen () .
env
Environment variables to pass to command.
Environment variables to pass to command .
cwd
Working directory for the command.
Working directory for the command .
timeout
None