| | |
- __builtin__.object
-
- fully_buffered_base
-
- fully_buffered_simple
- fully_buffered_subprocess
- fully_buffered_subprocess
fully_buffered = class fully_buffered_subprocess(fully_buffered_base) |
| |
This implementation is supposed to never block. |
| |
- Method resolution order:
- fully_buffered_subprocess
- fully_buffered_base
- __builtin__.object
Methods defined here:
- __init__(self, command, stdin_lines=None, join_stdout_stderr=False, stdout_splitlines=True, bufsize=-1)
Methods inherited from fully_buffered_base:
- raise_if_errors(self)
- raise_if_errors_or_output(self)
- raise_if_output(self, show_output_threshold=10)
- show_stderr(self, out=None, prefix='')
- show_stdout(self, out=None, prefix='')
Data descriptors inherited from fully_buffered_base:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class fully_buffered_simple(fully_buffered_base) |
| |
Executes command, sends stdin_lines (str or sequence), then reads
stdout_lines first, stderr_lines second (if join_stdout_stderr
is False).
The constructor may deadlock if the I/O buffers are too small to allow
the blocking write and reads in the given sequence. Specifically,
stdin_lines may be too big, or there may be too many stderr_lines,
but there can be any number of stdout_lines. The tests below are
known to work under Mac OS X, Windows XP, IRIX, and Tru64 Unix with
stdin_lines up to 1000000, stderr_lines up to 500. I.e. this simple
implementation should cover most practical situations. |
| |
- Method resolution order:
- fully_buffered_simple
- fully_buffered_base
- __builtin__.object
Methods defined here:
- __init__(self, command, stdin_lines=None, join_stdout_stderr=False, stdout_splitlines=True, bufsize=-1)
Methods inherited from fully_buffered_base:
- raise_if_errors(self)
- raise_if_errors_or_output(self)
- raise_if_output(self, show_output_threshold=10)
- show_stderr(self, out=None, prefix='')
- show_stdout(self, out=None, prefix='')
Data descriptors inherited from fully_buffered_base:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class fully_buffered_subprocess(fully_buffered_base) |
| |
This implementation is supposed to never block. |
| |
- Method resolution order:
- fully_buffered_subprocess
- fully_buffered_base
- __builtin__.object
Methods defined here:
- __init__(self, command, stdin_lines=None, join_stdout_stderr=False, stdout_splitlines=True, bufsize=-1)
Methods inherited from fully_buffered_base:
- raise_if_errors(self)
- raise_if_errors_or_output(self)
- raise_if_output(self, show_output_threshold=10)
- show_stderr(self, out=None, prefix='')
- show_stdout(self, out=None, prefix='')
Data descriptors inherited from fully_buffered_base:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |