Lines Matching full:none
33 class Popen(args, bufsize=0, executable=None,
34 stdin=None, stdout=None, stderr=None,
35 preexec_fn=None, close_fds=False, shell=False,
36 cwd=None, env=None, universal_newlines=False,
37 startupinfo=None, creationflags=0):
73 integer), an existing file object, and None. PIPE indicates that a
74 new pipe to the child should be created. With None, no redirection
89 If cwd is not None, the current directory will be changed to cwd
92 If env is not None, it defines the environment variables for the new
178 communicate(input=None)
182 sent to the child process, or None, if no data should be sent to
194 that provides input to the child process. Otherwise, it is None.
199 None.
204 None.
210 The child return code. A None value indicates that the process
352 if rc is not None and rc % 256:
408 def __init__(self, returncode, cmd, output=None):
422 hStdInput = None
423 hStdOutput = None
424 hStdError = None
463 if res is not None:
540 if cmd is None:
573 if cmd is None:
650 def __init__(self, args, bufsize=0, executable=None,
651 stdin=None, stdout=None, stderr=None,
652 preexec_fn=None, close_fds=False, shell=False,
653 cwd=None, env=None, universal_newlines=False,
654 startupinfo=None, creationflags=0):
663 if preexec_fn is not None:
666 if close_fds and (stdin is not None or stdout is not None or
667 stderr is not None):
672 if startupinfo is not None:
679 self.stdin = None
680 self.stdout = None
681 self.stderr = None
682 self.pid = None
683 self.returncode = None
698 # are None when not using PIPEs. The child objects are None
734 if p2cwrite is not None:
736 if c2pread is not None:
738 if errread is not None:
741 if p2cwrite is not None:
743 if c2pread is not None:
748 if errread is not None:
770 if self.returncode is None and _active is not None:
775 def communicate(self, input=None):
779 string to be sent to the child process, or None, if no data
786 if [self.stdin, self.stdout, self.stderr].count(None) >= 2:
787 stdout = None
788 stderr = None
821 if stdin is None and stdout is None and stderr is None:
822 return (None, None, None, None, None, None)
824 p2cread, p2cwrite = None, None
825 c2pread, c2pwrite = None, None
826 errread, errwrite = None, None
828 if stdin is None:
830 if p2cread is None:
831 p2cread, _ = _subprocess.CreatePipe(None, 0)
833 p2cread, p2cwrite = _subprocess.CreatePipe(None, 0)
841 if stdout is None:
843 if c2pwrite is None:
844 _, c2pwrite = _subprocess.CreatePipe(None, 0)
846 c2pread, c2pwrite = _subprocess.CreatePipe(None, 0)
854 if stderr is None:
856 if errwrite is None:
857 _, errwrite = _subprocess.CreatePipe(None, 0)
859 errread, errwrite = _subprocess.CreatePipe(None, 0)
910 if startupinfo is None:
912 if None not in (p2cread, c2pwrite, errwrite):
943 None, None,
962 if p2cread is not None:
964 if c2pwrite is not None:
966 if errwrite is not None:
975 def _internal_poll(self, _deadstate=None,
986 if self.returncode is None:
995 if self.returncode is None:
1007 stdout = None # Return
1008 stderr = None # Return
1024 if input is not None:
1038 if stdout is not None:
1040 if stderr is not None:
1093 p2cread, p2cwrite = None, None
1094 c2pread, c2pwrite = None, None
1095 errread, errwrite = None, None
1097 if stdin is None:
1107 if stdout is None:
1117 if stderr is None:
1191 if executable is None:
1215 if p2cwrite is not None:
1217 if c2pread is not None:
1219 if errread is not None:
1238 elif a is not None:
1246 closed = { None }
1256 if cwd is not None:
1262 if env is None:
1287 if p2cread is not None and p2cwrite is not None:
1289 if c2pwrite is not None and c2pread is not None:
1291 if errwrite is not None and errread is not None:
1325 def _internal_poll(self, _deadstate=None, _waitpid=os.waitpid,
1334 if self.returncode is None:
1340 if _deadstate is not None:
1355 while self.returncode is None:
1387 if stdout is not None:
1389 if stderr is not None:
1407 stdout = None # Return
1408 stderr = None # Return
1470 stdout = None # Return
1471 stderr = None # Return