Part of lp.codehosting.sshserver.session View In Hierarchy
Known subclasses: lp.codehosting.sshserver.session.RestrictedExecOnlySession
Method | __init__ | Undocumented |
Class Method | getAvatarAdapter | Undocumented |
Method | closed | See ISession. |
Method | eofReceived | See ISession. |
Method | execCommand | Executes command using protocol as the ProcessProtocol. |
Method | getCommandToRun | Return the command that will actually be run given command . |
Method | _spawn | Undocumented |
Executes `command` using `protocol` as the ProcessProtocol. See ISession. :param protocol: a ProcessProtocol, usually SSHSessionProcessProtocol. :param command: A whitespace-separated command line. The first token is used as the name of the executable, the rest are used as arguments.
command
.Parameters | command | A command line to run. |
Returns | (executable, arguments) where executable is the name of an
executable and arguments is a sequence of command-line arguments
with the name of the executable as the first value. |