Home | Trees | Indices | Help |
---|
|
Runs a subprocess in parallel, capturing it's output and providing non-blocking reads (well, at least for the caller they appear non-blocking).
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Adds a new process to this object. This process is run and the output collected.
|
Reads available lines from any of the running processes. If no lines are available now it will wait until 'timeout' to read a line. If nothing is running the timeout is not waited and the function simply returns. When a process has been completed and all output has been read from it, a variable 'group_ouput_done' will be set to True on the process handle.
|
Read a single line from any running process. Note that this will end up blocking for timeout once all processes have completed. 'readlines' however can properly handle that situation and stop reading once everything is complete.
|
Determine if calling readlines would actually yield any output. This returns true if there is a process running or there is data in the queue. |
Return the number of processes still running. Note that although a process may be finished there could still be output from it in the queue. You should use 'is_pending' to determine if you should still be reading. |
Return a list of all processes and their exit code.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Feb 3 10:19:07 2014 | http://epydoc.sourceforge.net |