build/fuchsia/remote_cmd.py
def RunCommandPiped(self, command, stdout, stderr, ssh_args = None, **kwargs):
    """Executes an SSH command on the remote host and returns a process object
    with access to the command's stdio streams. Does not block.

    command: A list of strings containing the command and its arguments.
    stdout: subprocess stdout.  Must not be None.
    stderr: subprocess stderr.  Must not be None.
    ssh_args: Arguments that will be passed to SSH.
    kwargs: A dictionary of parameters to be passed to subprocess.Popen().
            The parameters can be used to override stdin and stdout, for
            example.

    Returns a Popen object for the command."""

    if not stdout or not stderr:
      raise Exception('Stdout/stderr must be specified explicitly')

    if not ssh_args:
      ssh_args = []

    ssh_command = self._GetSshCommandLinePrefix() + ssh_args + ['--'] + command
    logging.debug(ssh_command)
    _SSH_LOGGER.debug(' '.join(ssh_command))
    return subprocess.Popen(ssh_command, stdout=stdout, stderr=stderr, **kwargs)
Executes an SSH command on the remote host and returns a process object
    with access to the command's stdio streams. Does not block.

    command: A list of strings containing the command and its arguments.
    stdout: subprocess stdout.  Must not be None.
    stderr: subprocess stderr.  Must not be None.
    ssh_args: Arguments that will be passed to SSH.
    kwargs: A dictionary of parameters to be passed to subprocess.Popen().
            The parameters can be used to override stdin and stdout, for
            example.

    Returns a Popen object for the command.
Executes an SSH command on the remote host and returns a process object
with access to the command's stdio streams. Does not block.

A list of strings containing the command and its arguments.
stdout: subprocess stdout.  Must not be None.
stderr: subprocess stderr.  Must not be None.
ssh_args: Arguments that will be passed to SSH.
kwargs: A dictionary of parameters to be passed to subprocess.Popen().
The parameters can be used to override stdin and stdout, for
example.

Returns a Popen object for the command.
Executes an SSH command on the remote host and returns a process object with access to the command ' s stdio streams . Does not block . A list of strings containing the command and its arguments . stdout : subprocess stdout . Must not be None . stderr : subprocess stderr . Must not be None . ssh_args : Arguments that will be passed to SSH . kwargs : A dictionary of parameters to be passed to subprocess . Popen () . The parameters can be used to override stdin and stdout for example . Returns a Popen object for the command .
def RunCommandPiped(self, command, stdout, stderr, ssh_args = None, **kwargs):
    if not stdout or not stderr:
      raise Exception('Stdout/stderr must be specified explicitly')
    if not ssh_args:
      ssh_args = []
    ssh_command = self._GetSshCommandLinePrefix() + ssh_args + ['--'] + command
    logging.debug(ssh_command)
    _SSH_LOGGER.debug(' '.join(ssh_command))
    return subprocess.Popen(ssh_command, stdout=stdout, stderr=stderr, **kwargs)
def RunCommandPiped ( self , command , stdout , stderr , ssh_args = None , ** kwargs ) : if not stdout or not stderr : raise Exception ( 'Stdout/stderr must be specified explicitly' ) if not ssh_args : ssh_args = [ ] ssh_command = self . _GetSshCommandLinePrefix ( ) + ssh_args + [ '--' ] + command logging . debug ( ssh_command ) _SSH_LOGGER . debug ( ' ' . join ( ssh_command ) ) return subprocess . Popen ( ssh_command , stdout = stdout , stderr = stderr , ** kwargs )
Executes an SSH command on the remote host and returns a process object
with access to the command's stdio streams.
Executes an SSH command on the remote host and returns a process object with access to the command ' s stdio streams .
"""Executes an SSH command on the remote host and returns a process object
    with access to the command's stdio streams. Does not block.

    command: A list of strings containing the command and its arguments.
    stdout: subprocess stdout.  Must not be None.
    stderr: subprocess stderr.  Must not be None.
    ssh_args: Arguments that will be passed to SSH.
    kwargs: A dictionary of parameters to be passed to subprocess.Popen().
            The parameters can be used to override stdin and stdout, for
            example.

    Returns a Popen object for the command."""
self
command
stdout
stderr
ssh_args