Home | Trees | Indices | Help |
---|
|
Class to submit a command to the operative system
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
cmd = command to be executed. std_in = input for the command. timeout = timeout between blocks of the command output (in seconds). pipesize = the size (in blocks) of the queue used to buffer the blocks read. blocksize = the maximum block size for a raw read. capturestderr if True tells to merge std_out and std_err of the command. |
Legacy method. Deprecated. |
Shows is command running or not. If there is no way to establish this (win32 without extensions) always returns True. |
Read no more than maxblocks from out pipe i. i = 0 std_out (or std_out + std_err) i = 1 std_err. If maxblocks = 0 (default) read till the end of data or timeout between blocks arrival |
Tries to kill command process, close pipes and stop threads. Can block on win32 without win extensions. |
--> [std_out and std_err lines], if capturestderr = True --> ([std_out lines], [std_err lines]), if capturestderr = False |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 25 10:35:22 2012 | http://epydoc.sourceforge.net |