Lines Matching refs:close
249 # On Windows we just need to close `Popen._handle` when we no longer need
1039 f.close()
1058 os.close(fd)
1094 self.stdout.close()
1096 self.stderr.close()
1099 self.stdin.close()
1156 self.stdin.close()
1166 """Interact with process: Send data to stdin and close it.
1197 self.stdout.close()
1200 self.stderr.close()
1299 stack.callback(os.close, p2cread)
1301 stack.callback(os.close, c2pwrite)
1303 stack.callback(os.close, errwrite)
1306 stack.callback(os.close, devnull_fd)
1308 # Prevent a double close of these handles/fds from __init__ on error.
1326 os.close(fd)
1551 # pipe will not close when the child process exits and the
1557 # Retain the process handle, but close the thread handle
1598 fh.close()
1634 # Collect the output from and close both pipes, now that we know
1640 self.stdout.close()
1643 self.stderr.close()
1856 os.close(low_fd)
1896 os.close(errpipe_write)
1912 os.close(errpipe_read)
2065 self.stdin.close()
2122 key.fileobj.close()
2126 key.fileobj.close()
2131 key.fileobj.close()