l.c.s.s.ForkingRestrictedExecOnlySession(RestrictedExecOnlySession) : class documentation

Part of lp.codehosting.sshserver.session View In Hierarchy

Use the Forking Service instead of spawnProcess.
Method getCommandToFork Undocumented
Method _simplifyEnvironment Pull out the bits of the environment we want to pass along.
Method _spawn Undocumented

Inherited from RestrictedExecOnlySession:

Method __init__ Construct a RestrictedExecOnlySession.
Class Method getAvatarAdapter Undocumented
Method getCommandToRun As in ExecOnlySession, but only allow a particular command.

Inherited from ExecOnlySession (via RestrictedExecOnlySession):

Method closed See ISession.
Method eofReceived See ISession.
Method execCommand Executes command using protocol as the ProcessProtocol.
def _simplifyEnvironment(self, env):
Pull out the bits of the environment we want to pass along.
def getCommandToFork(self, executable, arguments, env):
Undocumented
def _spawn(self, protocol, executable, arguments, env):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.