chrome/updater/test/service/win/rpc_client.py
def RunAsStandardUser(command_line, env=None, cwd=None, timeout=90):
  """Runs the command as the non-elevated logged-on user on default desktop.

  Args:
    command_line: The command line string, includes all arguments.
    env: Environment variables to pass to command.
    cwd: Working directory for the command.
    timeout: How long the child process should wait 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.RunAsStandardUser(command_line, env, cwd, timeout)
  except RPCErrors as err:
    logging.exception(err)
    raise
Runs the command as the non-elevated logged-on user on default desktop.

  Args:
    command_line: The command line string, includes all arguments.
    env: Environment variables to pass to command.
    cwd: Working directory for the command.
    timeout: How long the child process should wait before timeout.

  Returns:
    (pid, exit_code, sdtout, stderr) tuple.
  
Runs the command as the non-elevated logged-on user on default desktop.
Runs the command as the non - elevated logged - on user on default desktop .
def RunAsStandardUser(command_line, env=None, cwd=None, timeout=90):
  try:
    proxy = GetProxy()
    env = env or dict(os.environ)
    cwd = cwd or os.getcwd()
    return proxy.RunAsStandardUser(command_line, env, cwd, timeout)
  except RPCErrors as err:
    logging.exception(err)
    raise
def RunAsStandardUser ( command_line , env = None , cwd = None , timeout = 90 ) : try : proxy = GetProxy ( ) env = env or dict ( os . environ ) cwd = cwd or os . getcwd ( ) return proxy . RunAsStandardUser ( command_line , env , cwd , timeout ) except RPCErrors as err : logging . exception ( err ) raise
Runs the command as the non-elevated logged-on user on default desktop.
Runs the command as the non - elevated logged - on user on default desktop .
"""Runs the command as the non-elevated logged-on user on default desktop.

  Args:
    command_line: The command line string, includes all arguments.
    env: Environment variables to pass to command.
    cwd: Working directory for the command.
    timeout: How long the child process should wait before timeout.

  Returns:
    (pid, exit_code, sdtout, stderr) tuple.
  """
(pid, exit_code, sdtout, stderr) tuple.
( pid exit_code sdtout stderr ) tuple .
command_line
The command line string, includes all arguments.
The command line string includes all arguments .
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