twisted.test.test_process.GetEnvironmentDictionary(UtilityProcessProtocol) class documentationtwisted.test.test_process
(View In Hierarchy)
Protocol which will read a serialized environment dict from a process and expose it to interested parties.
| Method | parseChunks | No summary | 
Inherited from UtilityProcessProtocol:
| Instance Variable | programName | The name of the program to run. | 
| 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 parseChunkswhen 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. | 
| Method | _fireResultDeferreds | Callback all Deferreds returned up until now by getResultwith the given result object. | 
Inherited from ProcessProtocol (via UtilityProcessProtocol):
| Method | childDataReceived | Called when data arrives from the child process. | 
| Method | errReceived | Some data was received from stderr. | 
| Method | childConnectionLost | Called when a file descriptor associated with the child process is closed. | 
| Method | inConnectionLost | This will be called when stdin is closed. | 
| Method | outConnectionLost | This will be called when stdout is closed. | 
| Method | errConnectionLost | This will be called when stderr is closed. | 
| Method | processExited | This will be called when the subprocess exits. | 
Inherited from BaseProtocol (via UtilityProcessProtocol, ProcessProtocol):
| Method | makeConnection | Make a connection to a transport and a server. | 
| Method | connectionMade | Called when a connection is made. |