class documentation

Protocol which will read a serialized argv from a process and expose it to interested parties.

Method parseChunks Parse the output from the process to which this protocol was connected, which is a single unterminated line of \0-separated strings giving the argv of that process. Return this as a list of str objects.
Class Variable programName Undocumented

Inherited from UtilityProcessProtocol:

Class Method run Run a Python process connected to a new instance of this protocol class. Return the protocol instance.
Method __init__ Undocumented
Method getResult Return a Deferred which will fire with the result of parseChunks when the child process exits.
Method outReceived Accumulate output from the child process in a list.
Method processEnded Handle process termination by parsing all received output and firing any waiting Deferreds.
Instance Variable bytes Undocumented
Instance Variable requests Undocumented
Method _fireResultDeferreds Callback all Deferreds returned up until now by getResult with the given result object.

Inherited from ProcessProtocol (via UtilityProcessProtocol):

Method childConnectionLost Called when a file descriptor associated with the child process is closed.
Method childDataReceived Called when data arrives from the child process.
Method errConnectionLost This will be called when stderr is closed.
Method errReceived Some data was received from stderr.
Method inConnectionLost This will be called when stdin is closed.
Method outConnectionLost This will be called when stdout is closed.
Method processExited This will be called when the subprocess exits.
Class Variable transport Undocumented

Inherited from BaseProtocol (via UtilityProcessProtocol, ProcessProtocol):

Method connectionMade Called when a connection is made.
Method makeConnection Make a connection to a transport and a server.
Instance Variable connected Undocumented
def parseChunks(self, chunks): (source)

Parse the output from the process to which this protocol was connected, which is a single unterminated line of \0-separated strings giving the argv of that process. Return this as a list of str objects.