Home | History | Annotate | Download | only in asyncio

Lines Matching defs:pipe

20 __all__ = ['socketpair', 'pipe', 'Popen', 'PIPE', 'PipeHandle']
27 PIPE = subprocess.PIPE
38 """A socket pair usable as a self-pipe, for Windows.
80 # Replacement for os.pipe() using handles instead of fds
83 def pipe(*, duplex=False, overlapped=(True, True), bufsize=BUFSIZE):
84 """Like os.pipe() but with overlapped support and using handles not fds."""
85 address = tempfile.mktemp(prefix=r'\\.\pipe\python-pipe-%d-%d-' %
128 # Wrapper for a pipe handle
132 """Wrapper for an overlapped pipe handle which is vaguely file-object like.
152 raise ValueError("I/O operatioon on closed pipe")
173 # Replacement for subprocess.Popen using overlapped pipe handles
177 """Replacement for subprocess.Popen using overlapped pipe handles.
186 if stdin == PIPE:
187 stdin_rh, stdin_wh = pipe(overlapped=(False, True), duplex=True)
191 if stdout == PIPE:
192 stdout_rh, stdout_wh = pipe(overlapped=(True, False))
196 if stderr == PIPE:
197 stderr_rh, stderr_wh = pipe(overlapped=(True, False))
219 if stdin == PIPE:
221 if stdout == PIPE:
223 if stderr == PIPE: