spawnProcess (
self,
processProtocol,
executable,
args=(),
env={},
)
Spawn a process, with a process protcol.
Arguments:
processProtocol: a ProcessProtocol instance
executable: the file name to spawn
args: the command line arguments to pass to the process; a sequence
of strings.
env: the environment variables to pass to the processs; a
dictionary of strings.
See also:
twisted.protocols.protocol.ProcessProtocol
|