Table of Contents

Class: IReactorProcess Twisted-0.19.0/twisted/internet/interfaces.py
Base Classes   
Interface
Methods   
spawnProcess
  spawnProcess 
spawnProcess (
        self,
        processProtocol,
        executable,
        args=(),
        env={},
        path=None,
        uid=None,
        gid=None,
        )

Spawn a process, with a process protcol.

Arguments:

  • processProtocol: a ProcessProtocol instance

  • executable: the file name to spawn - the full path should be used.

  • args: the command line arguments to pass to the process; a sequence of strings. The first string should be the executable's name.

  • env: the environment variables to pass to the processs; a dictionary of strings.

  • path: the path to run the subprocess in - defaults to the current directory.

  • uid: user ID to run the subprocess as.

  • gid: group ID to run the subprocess as.

See also:

twisted.protocols.protocol.ProcessProtocol


Table of Contents

This document was automatically generated on Sun Jul 14 19:52:41 2002 by HappyDoc version 2.0