diff options
author | W. Trevor King <wking@drexel.edu> | 2011-04-15 19:07:14 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2011-04-15 19:07:14 -0400 |
commit | f0825c800c185338fecbf38d5b90b634a5cda015 (patch) | |
tree | be59d0ca3d85d0142fe6274dff603e4ffbde0af1 /libbe/util | |
parent | 8c0c5d1255319e5766d6e1b404b4a0c4dfb6c1f3 (diff) | |
download | bugseverywhere-f0825c800c185338fecbf38d5b90b634a5cda015.tar.gz |
Cleanup libbe.util.subproc.Pipe docstring.
Diffstat (limited to 'libbe/util')
-rw-r--r-- | libbe/util/subproc.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libbe/util/subproc.py b/libbe/util/subproc.py index b10f84a..412ed36 100644 --- a/libbe/util/subproc.py +++ b/libbe/util/subproc.py @@ -82,14 +82,14 @@ def invoke(args, stdin=None, stdout=PIPE, stderr=PIPE, expect=(0,), return status, stdout, stderr class Pipe (object): - """ - Simple interface for executing POSIX-style pipes based on the - subprocess module. The only complication is the adaptation of - subprocess.Popen._comminucate to listen to the stderrs of all - processes involved in the pipe, as well as the terminal process' - stdout. There are two implementations of Pipe._communicate, one - for MS Windows, and one for POSIX systems. The MS Windows - implementation is currently untested. + """Simple interface for executing POSIX-style pipes. + + Based on the `subprocess` module. The only complication is the + adaptation of `subprocess.Popen._communicate` to listen to the + stderrs of all processes involved in the pipe, as well as the + terminal process' stdout. There are two implementations of + `Pipe._communicate`, one for MS Windows, and one for POSIX + systems. The MS Windows implementation is currently untested. >>> p = Pipe([['find', '/etc/'], ['grep', '^/etc/ssh$']]) >>> p.stdout |