Lines Matching defs:pipe
17 __all__ = 'pipe', 'Popen', 'PIPE', 'PipeHandle'
29 # Replacement for os.pipe() using handles instead of fds
32 def pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):
33 """Like os.pipe() but with overlapped support and using handles not fds."""
35 prefix=r'\\.\pipe\python-pipe-{:d}-{:d}-'.format(
78 # Wrapper for a pipe handle
82 """Wrapper for an overlapped pipe handle which is vaguely file-object like.
102 raise ValueError("I/O operation on closed pipe")
122 # Replacement for subprocess.Popen using overlapped pipe handles
126 """Replacement for subprocess.Popen using overlapped pipe handles.
136 stdin_rh, stdin_wh = pipe(overlapped=(False, True), duplex=True)
141 stdout_rh, stdout_wh = pipe(overlapped=(True, False))
146 stderr_rh, stderr_wh = pipe(overlapped=(True, False))