Lines Matching full:os
9 import os
60 kwargs.setdefault("env", os.environ)
82 self._internal_pipe = os.pipe()
83 os.write(self._internal_pipe[1], b"+" * internal_jobs)
84 os.set_blocking(self._internal_pipe[0], False)
93 os.set_blocking(self._inheritable_pipe[0], False)
102 os.close(self._inheritable_pipe[0])
103 os.close(self._inheritable_pipe[1])
105 os.close(self._internal_pipe[0])
106 os.close(self._internal_pipe[1])
134 env = os.environ
151 if rc & os.O_ACCMODE != os.O_RDONLY:
159 if rc & os.O_ACCMODE != os.O_WRONLY:
197 byte = os.read(read_fd, 1)
199 functools.partial(os.write, write_fd, byte)
234 super().__init__(os.pipe(), jobs)
236 os.write(self._inheritable_pipe[1], b"+" * jobs)