• Home
  • Raw
  • Download

Lines Matching refs:executable

67 ZERO_RETURN_CMD = (sys.executable, '-c', 'pass')
143 rc = subprocess.call([sys.executable, "-c",
153 [sys.executable, "-c", "while True: pass"],
164 subprocess.check_call([sys.executable, "-c",
171 [sys.executable, "-c", "print('BDFL')"])
178 [sys.executable, "-c", "import sys; sys.exit(5)"])
184 [sys.executable, "-c", "import sys; sys.stderr.write('BDFL')"],
195 [sys.executable, "-c",
203 [sys.executable, "-c",
211 [sys.executable, "-c",
218 [sys.executable, "-c",
225 [sys.executable, "-c",
234 [sys.executable, "-c", "print('will not be run')"],
247 [sys.executable, "-c", "print('will not be run')"],
257 [sys.executable, "-c",
272 rc = subprocess.call([sys.executable, "-c",
290 p = subprocess.Popen([sys.executable, "-c", 'print("banana")'],
312 p = subprocess.Popen([sys.executable, "-c", code],
322 p = subprocess.Popen([sys.executable, "-c", 'print("banana")'],
344 doesnotexist = os.path.join(os.path.dirname(sys.executable),
346 self._assert_python([doesnotexist, "-c"], executable=sys.executable)
349 doesnotexist = os.path.join(os.path.dirname(sys.executable),
352 executable=os.fsencode(sys.executable))
355 doesnotexist = os.path.join(os.path.dirname(sys.executable),
358 executable=FakePath(sys.executable))
364 pre_args = [sys.executable, "-c"]
368 executable=NONEXISTING_CMD[0])
374 self._assert_python([], executable=sys.executable, shell=True)
378 self._assert_python([], executable=os.fsencode(sys.executable),
383 self._assert_python([], executable=FakePath(sys.executable),
397 python_path = os.path.realpath(sys.executable)
424 self._assert_cwd(temp_dir, sys.executable, cwd=temp_dir)
429 self._assert_cwd(temp_dir, sys.executable, cwd=os.fsencode(temp_dir))
434 self._assert_cwd(temp_dir, sys.executable, cwd=FakePath(temp_dir))
463 [doesntexist], executable=rel_python)
465 [doesntexist], executable=rel_python,
468 self._assert_cwd(python_dir, doesntexist, executable=rel_python,
491 executable=sys.executable, cwd=python_dir)
501 executable=sys.executable)
505 p = subprocess.Popen([sys.executable, "-c",
520 p = subprocess.Popen([sys.executable, "-c",
532 p = subprocess.Popen([sys.executable, "-c",
540 p = subprocess.Popen([sys.executable, "-c",
551 p = subprocess.Popen([sys.executable, "-c",
562 p = subprocess.Popen([sys.executable, "-c",
571 p = subprocess.Popen([sys.executable, "-c",
582 p = subprocess.Popen([sys.executable, "-c",
593 p = subprocess.Popen([sys.executable, "-c",
606 p = subprocess.Popen([sys.executable, "-c",
623 p = subprocess.Popen([sys.executable, "-c",
637 p = subprocess.Popen([sys.executable, "-c",
659 p = subprocess.Popen([sys.executable, "-c", code],
668 p = subprocess.Popen([sys.executable, "-c",
676 p = subprocess.Popen([sys.executable, "-c",
685 p = subprocess.Popen([sys.executable, "-c",
707 [sys.executable, "-c",
730 [sys.executable, "-c",
756 with subprocess.Popen([sys.executable, "-c",
783 with subprocess.Popen([sys.executable, "-c",
795 cmd = sys.executable + '\0'
801 subprocess.Popen([sys.executable, "-c", "pass#\0"])
825 with subprocess.Popen([sys.executable, "-c",
834 p = subprocess.Popen([sys.executable, "-c",
842 p = subprocess.Popen([sys.executable, "-c",
850 p = subprocess.Popen([sys.executable, "-c",
858 p = subprocess.Popen([sys.executable, "-c",
873 p = subprocess.Popen([sys.executable, "-c",
893 p = subprocess.Popen([sys.executable, "-c",
932 p = subprocess.Popen([sys.executable, "-c",
945 p = subprocess.Popen([sys.executable, "-c",
963 p = subprocess.Popen([sys.executable, "-c",
979 sys.executable, "-c",
1018 p = subprocess.Popen([sys.executable, "-c",
1043 p = subprocess.Popen([sys.executable, "-c",
1069 p = subprocess.Popen([sys.executable, "-c",
1106 args = [sys.executable, '-c', code]
1126 args = [sys.executable, '-c', code]
1164 p = subprocess.Popen([sys.executable, "-c",
1196 p = subprocess.Popen([sys.executable, "-c",
1213 p = subprocess.Popen([sys.executable,
1236 with subprocess.Popen([sys.executable, "-c", "import sys;"
1313 cmd = [sys.executable, "-c", code]
1353 proc = subprocess.Popen([sys.executable, '-c',
1411 output = subprocess.check_output([sys.executable, '-c', code])
1485 args = [sys.executable, "-c",
1534 argv = [sys.executable, "-c", code]
1641 path = os.fsencode(sys.executable)
1648 path = FakePath(sys.executable)
1742 p = subprocess.Popen([sys.executable, "-c", ""],
1757 p = subprocess.Popen([sys.executable, "-c", ""],
1758 executable=self._nonexistent_dir)
1862 [sys.executable, "-c", "import os; print(os.getsid(0))"],
1896 [sys.executable, "-c",
1944 [sys.executable, "-c",
1988 [sys.executable, "-c",
2040 [sys.executable, "-c", f"open({name!r}, 'w').close()"],
2055 p = subprocess.Popen([sys.executable, "-c",
2084 p = subprocess.Popen([sys.executable, "-c",
2096 p = subprocess.Popen([sys.executable, "-c", ""],
2154 subprocess.call([sys.executable, '-c', ''],
2161 subprocess.call([sys.executable, '-c', ''],
2182 subprocess.call([sys.executable, '-c', ''],
2197 sys.executable)
2207 [sys.executable, "-c",
2211 [sys.executable, "-c",
2242 sys.executable)
2263 p = subprocess.Popen("echo $0", executable=sh, shell=True,
2275 p = subprocess.Popen([sys.executable, "-c", """if 1:
2298 p = subprocess.Popen([sys.executable, "-c", """if 1:
2371 out, err = subprocess.Popen([sys.executable, "-c",
2419 sys.executable, "-c",
2451 p = subprocess.Popen([sys.executable, "-c",
2495 p = subprocess.Popen([sys.executable, "-c",
2554 rc = subprocess.call([sys.executable, '-c', code, str(skipped_fd)],
2610 [sys.executable, "-c", script],
2621 [sys.executable, "-c", script],
2657 p1 = subprocess.Popen([sys.executable, sleeper],
2663 p2 = subprocess.Popen([sys.executable, fd_status],
2683 p1 = subprocess.Popen([sys.executable, qcat],
2687 p2 = subprocess.Popen([sys.executable, qgrep, subdata],
2734 p = subprocess.Popen([sys.executable, fd_status],
2742 p = subprocess.Popen([sys.executable, fd_status],
2754 p = subprocess.Popen([sys.executable, fd_status],
2783 p = subprocess.Popen([sys.executable, '-c', textwrap.dedent(
2863 p = subprocess.Popen([sys.executable, fd_status],
2891 args = [sys.executable, script]
2926 with subprocess.Popen([sys.executable, fd_status],
2960 p = subprocess.Popen([sys.executable, sigchild_ignore],
2971 p = subprocess.Popen([sys.executable, "-c",
2989 p = subprocess.Popen([sys.executable, "-c",
3014 p = subprocess.Popen([sys.executable, "-c",
3059 p = subprocess.Popen([sys.executable, fd_status],
3172 proc = subprocess.Popen([sys.executable, '-h'],
3187 proc = subprocess.Popen([sys.executable, '-h'],
3238 p = subprocess.Popen([sys.executable, '-c', 'exit(1)'])
3249 proc = subprocess.Popen([sys.executable, '-c',
3325 subprocess.call(sys.executable +
3332 [sys.executable, "-c",
3347 rc = subprocess.call([sys.executable, "-c",
3364 p = subprocess.Popen([sys.executable, "-c",
3371 p = subprocess.Popen([sys.executable, "-c",
3382 p = subprocess.Popen([sys.executable, "-c",
3395 p = subprocess.Popen([sys.executable, "-c",
3448 rc = subprocess.call(sys.executable +
3454 p = subprocess.Popen([sys.executable, "-c", """if 1:
3474 p = subprocess.Popen([sys.executable, "-c", """if 1:
3544 popener([sys.executable, "-c",
3654 self.with_spaces('"%s" "%s" "%s"' % (sys.executable, self.fname,
3659 self.with_spaces([sys.executable, self.fname, "ab cd"], shell=1)
3663 self.with_spaces('"%s" "%s" "%s"' % (sys.executable, self.fname,
3668 self.with_spaces([sys.executable, self.fname, "ab cd"])
3674 with subprocess.Popen([sys.executable, "-c",
3687 with subprocess.Popen([sys.executable, "-c",
3694 with subprocess.Popen([sys.executable, "-c",