(self, cmd_args, stdin_payload=None)
return exit_code, stdout, stderr
Runs the specified command inside the current container.
Runs the specified command inside the current container.
Runs the specified command inside the current container .
def run(self, cmd_args, stdin_payload=None):
        """ Runs the specified command inside the current container. """
        logger.debug('Running {0}'.format(' '.join(cmd_args)))
        exit_code, stdout, stderr = self.lxd_container.execute(
           cmd_args,
           stdin_payload=stdin_payload,
           stdout_handler=self._log_stdout,
           stderr_handler=self._log_stderr
        )
        return exit_code, stdout, stderr
def run ( self , cmd_args , stdin_payload = None ) : logger . debug ( 'Running {0}' . format ( ' ' . join ( cmd_args ) ) ) exit_code , stdout , stderr = self . lxd_container . execute ( cmd_args , stdin_payload = stdin_payload , stdout_handler = self . _log_stdout , stderr_handler = self . _log_stderr ) return exit_code , stdout , stderr