Home
last modified time | relevance | path

Searched refs:subprocess (Results 1 – 25 of 985) sorted by relevance

12345678910>>...40

/third_party/python/Lib/test/
Dtest_subprocess.py7 import subprocess
75 subprocess.run([shell_true]).returncode == 0):
89 for inst in subprocess._active:
91 subprocess._cleanup()
93 subprocess._active, "subprocess._active not empty"
103 class PopenExecuteChildRaises(subprocess.Popen):
114 p = subprocess.Popen(ZERO_RETURN_CMD,
115 stdin=subprocess.PIPE, stdout=subprocess.PIPE,
116 stderr=subprocess.PIPE)
128 p = subprocess.Popen(ZERO_RETURN_CMD,
[all …]
Dtest_cmd_line.py6 import subprocess
79 out = subprocess.check_output(args)
96 PIPE = subprocess.PIPE
97 p = subprocess.Popen(cmd, stdout=PIPE, stderr=PIPE)
180 p = subprocess.Popen(
182 stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
217 return subprocess.run(cmd, stdout=subprocess.PIPE, text=True)
223 return subprocess.run(cmd, stdout=subprocess.PIPE,
228 return subprocess.run(cmd, stdout=subprocess.PIPE, text=True)
262 p = subprocess.Popen(
[all …]
/third_party/glib/gio/
Dgsubprocess.c599 g_subprocess_get_identifier (GSubprocess *subprocess) in g_subprocess_get_identifier() argument
601 g_return_val_if_fail (G_IS_SUBPROCESS (subprocess), NULL); in g_subprocess_get_identifier()
603 if (subprocess->pid) in g_subprocess_get_identifier()
604 return subprocess->identifier; in g_subprocess_get_identifier()
624 g_subprocess_get_stdin_pipe (GSubprocess *subprocess) in g_subprocess_get_stdin_pipe() argument
626 g_return_val_if_fail (G_IS_SUBPROCESS (subprocess), NULL); in g_subprocess_get_stdin_pipe()
628 return subprocess->stdin_pipe; in g_subprocess_get_stdin_pipe()
646 g_subprocess_get_stdout_pipe (GSubprocess *subprocess) in g_subprocess_get_stdout_pipe() argument
648 g_return_val_if_fail (G_IS_SUBPROCESS (subprocess), NULL); in g_subprocess_get_stdout_pipe()
650 return subprocess->stdout_pipe; in g_subprocess_get_stdout_pipe()
[all …]
Dgsubprocess.h52 GOutputStream * g_subprocess_get_stdin_pipe (GSubprocess *subprocess);
55 GInputStream * g_subprocess_get_stdout_pipe (GSubprocess *subprocess);
58 GInputStream * g_subprocess_get_stderr_pipe (GSubprocess *subprocess);
61 const gchar * g_subprocess_get_identifier (GSubprocess *subprocess);
65 void g_subprocess_send_signal (GSubprocess *subprocess,
70 void g_subprocess_force_exit (GSubprocess *subprocess);
73 gboolean g_subprocess_wait (GSubprocess *subprocess,
78 void g_subprocess_wait_async (GSubprocess *subprocess,
84 gboolean g_subprocess_wait_finish (GSubprocess *subprocess,
89 gboolean g_subprocess_wait_check (GSubprocess *subprocess,
[all …]
/third_party/flutter/skia/infra/bots/assets/clang_linux/
Dcreate.py14 import subprocess
26 subprocess.check_call(["git", "clone", "--depth", "1", "-b",
29 subprocess.check_call(["git", "clone", "--depth", "1", "-b",
31 subprocess.check_call(["git", "clone", "--depth", "1", "-b",
34 subprocess.check_call(["git", "clone", "--depth", "1", "-b",
38 subprocess.check_call(["git", "clone", "--depth", "1", "-b",
40 subprocess.check_call(["git", "clone", "--depth", "1", "-b",
42 subprocess.check_call(["git", "clone", "--depth", "1", "-b",
47 subprocess.check_call(["cmake", "..", "-G", "Ninja",
52 subprocess.check_call(["ninja", "install"])
[all …]
/third_party/flutter/skia/infra/bots/
Dgit_utils.py10 import subprocess
25 prev = subprocess.check_output(['git', 'config', '--local', k]).rstrip()
28 except subprocess.CalledProcessError:
31 subprocess.check_call(['git', 'config', '--local', k, v])
36 subprocess.check_call(
39 subprocess.check_call(['git', 'config', '--local', '--unset', k])
60 subprocess.check_call(['git', 'reset', '--hard', 'HEAD'])
61 subprocess.check_call(['git', 'checkout', 'master'])
62 if self._branch_name in subprocess.check_output(['git', 'branch']).split():
63 subprocess.check_call(['git', 'branch', '-D', self._branch_name])
[all …]
/third_party/grpc/test/cpp/naming/
Dresolver_component_tests_runner.py20 import subprocess
65 tcp_connect_subprocess = subprocess.Popen(python_args([
74 dns_resolver_subprocess = subprocess.Popen(python_args([
79 stdout=subprocess.PIPE)
100 dns_server_subprocess = subprocess.Popen(python_args([
104 stdin=subprocess.PIPE,
122 current_test_subprocess = subprocess.Popen([
139 current_test_subprocess = subprocess.Popen([
156 current_test_subprocess = subprocess.Popen([
173 current_test_subprocess = subprocess.Popen([
[all …]
/third_party/flutter/skia/third_party/externals/angle2/android/
Dcompress_symbols.py11 import subprocess
31 result = subprocess.call(copy_cmd)
33 nm_cmd = subprocess.Popen([args.nm, '-D', args.output, '--format=posix', '--defined-only'],
34 stdout=subprocess.PIPE)
36 awk_cmd = subprocess.Popen(['awk', '{ print $1}'], stdin=nm_cmd.stdout, stdout=subprocess.PIPE)
39 sort_cmd = subprocess.Popen(['sort'], stdin=awk_cmd.stdout, stdout=dynsym_out)
44 nm_cmd = subprocess.Popen([args.nm, args.output, '--format=posix', '--defined-only'],
45 stdout=subprocess.PIPE)
47 awk_cmd = subprocess.Popen(['awk', '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }'],
49 stdout=subprocess.PIPE)
[all …]
/third_party/skia/third_party/externals/angle2/android/
Dcompress_symbols.py11 import subprocess
31 result = subprocess.call(copy_cmd)
33 nm_cmd = subprocess.Popen([args.nm, '-D', args.output, '--format=posix', '--defined-only'],
34 stdout=subprocess.PIPE)
36 awk_cmd = subprocess.Popen(['awk', '{ print $1}'], stdin=nm_cmd.stdout, stdout=subprocess.PIPE)
39 sort_cmd = subprocess.Popen(['sort'], stdin=awk_cmd.stdout, stdout=dynsym_out)
44 nm_cmd = subprocess.Popen([args.nm, args.output, '--format=posix', '--defined-only'],
45 stdout=subprocess.PIPE)
47 awk_cmd = subprocess.Popen(['awk', '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }'],
49 stdout=subprocess.PIPE)
[all …]
/third_party/skia/infra/bots/
Dgit_utils.py11 import subprocess
26 prev = subprocess.check_output(['git', 'config', '--local', k]).rstrip()
29 except subprocess.CalledProcessError:
32 subprocess.check_call(['git', 'config', '--local', k, v])
37 subprocess.check_call(
40 subprocess.check_call(['git', 'config', '--local', '--unset', k])
61 subprocess.check_call(['git', 'reset', '--hard', 'HEAD'])
62 subprocess.check_call(['git', 'checkout', 'main'])
63 if self._branch_name in subprocess.check_output(['git', 'branch']).split():
64 subprocess.check_call(['git', 'branch', '-D', self._branch_name])
[all …]
/third_party/node/test/parallel/
Dtest-child-process-spawn-event.js6 const subprocess = spawn('echo', ['ok']); constant
9 subprocess.on('spawn', function() {
18 subprocess.on('error', common.mustNotCall());
19 subprocess.on('spawn', common.mustCall());
20 subprocess.stdout.on('data', mustCallAfterSpawn());
21 subprocess.stdout.on('end', mustCallAfterSpawn());
22 subprocess.stdout.on('close', mustCallAfterSpawn());
23 subprocess.stderr.on('data', common.mustNotCall());
24 subprocess.stderr.on('end', mustCallAfterSpawn());
25 subprocess.stderr.on('close', mustCallAfterSpawn());
[all …]
/third_party/skia/infra/bots/assets/clang_linux/
Dcreate.py14 import subprocess
27 subprocess.check_call(["git", "clone", "--depth", "1", "-b", BRANCH,
32 subprocess.check_call(["cmake", "../llvm", "-G", "Ninja",
39 subprocess.check_call(["ninja", "install"])
42 subprocess.check_call(["cp", "bin/llvm-symbolizer", target_dir + "/bin"])
43 subprocess.check_call(["cp", "bin/llvm-profdata", target_dir + "/bin"])
44 subprocess.check_call(["cp", "bin/llvm-cov", target_dir + "/bin"])
45 libstdcpp = subprocess.check_output(["c++",
47 subprocess.check_call(["cp", libstdcpp.strip(), target_dir + "/lib"])
53 subprocess.check_call(
[all …]
/third_party/grpc/tools/run_tests/python_utils/
Ddockerjob.py22 import subprocess
37 return subprocess.call(['docker', 'kill', str(cid)],
38 stdin=subprocess.PIPE,
40 stderr=subprocess.STDOUT) == 0
48 output = subprocess.check_output('docker port %s %s' % (cid, port),
52 except subprocess.CalledProcessError as e:
64 output = subprocess.check_output(cmd, stderr=_DEVNULL, shell=True)
71 except subprocess.CalledProcessError as e:
82 output = subprocess.check_output([
88 except subprocess.CalledProcessError as e:
[all …]
/third_party/grpc/tools/profiling/bloat/
Dbloat_diff.py22 import subprocess
48 subprocess.check_call('make -j%d' % args.jobs, shell=True, cwd='.')
57 where_am_i = subprocess.check_output(
59 subprocess.check_call(['git', 'checkout', args.diff_base])
60 subprocess.check_call(['git', 'submodule', 'update'])
64 except subprocess.CalledProcessError, e:
65 subprocess.check_call(['make', 'clean'])
68 subprocess.check_call(['git', 'checkout', where_am_i])
69 subprocess.check_call(['git', 'submodule', 'update'])
71 subprocess.check_call('make -j%d' % args.jobs,
[all …]
/third_party/python/Lib/ctypes/
Dutil.py3 import subprocess
124 proc = subprocess.Popen(args,
125 stdout=subprocess.PIPE,
126 stderr=subprocess.STDOUT,
159 proc = subprocess.Popen(("/usr/ccs/bin/dump", "-Lpv", f),
160 stdout=subprocess.PIPE,
161 stderr=subprocess.DEVNULL)
181 proc = subprocess.Popen((objdump, '-p', '-j', '.dynamic', f),
182 stdout=subprocess.PIPE,
183 stderr=subprocess.DEVNULL)
[all …]
/third_party/mesa3d/bin/
Dcommit_in_branch.py4 import subprocess
42 ret = subprocess.call(['git', 'cat-file', '-e', commit],
43 stdout=subprocess.DEVNULL,
44 stderr=subprocess.DEVNULL)
52 ret = subprocess.call(['git', 'merge-base', '--is-ancestor',
54 stdout=subprocess.DEVNULL,
55 stderr=subprocess.DEVNULL)
64 out = subprocess.check_output(['git', 'log', '--format=%H',
67 stderr=subprocess.DEVNULL)
80 out = subprocess.check_output(['git', 'rev-parse', commit],
[all …]
/third_party/skia/resources/sksl/
Dupdate_fuzzer.py17 import subprocess
52 output = subprocess.check_output(
55 stderr=subprocess.STDOUT)
57 output = subprocess.check_output(
60 stderr=subprocess.STDOUT)
63 output = subprocess.check_output(
66 stderr=subprocess.STDOUT)
68 output = subprocess.check_output(
71 stderr=subprocess.STDOUT)
73 except subprocess.CalledProcessError as err:
/third_party/skia/infra/bots/assets/gcloud_linux/
Dcreate.py16 import subprocess
30 subprocess.check_call(['curl', GCLOUD_URL, '-o', GCLOUD_ARCHIVE])
33 subprocess.check_call(['tar', '-xzf', GCLOUD_ARCHIVE,
42 subprocess.check_call([gcloud_exe, 'components',
45 subprocess.check_call([gcloud_exe, 'components',
48 subprocess.check_call([gcloud_exe, 'components',
51 subprocess.check_call([gcloud_exe, 'components',
57 subprocess.check_call(['chmod', '+x', os.path.join(target_dir, fs_jar)])
58 subprocess.check_call([gcloud_exe, 'components','update', '--quiet'], env=env)
/third_party/flutter/skia/infra/bots/assets/gcloud_linux/
Dcreate.py16 import subprocess
28 subprocess.check_call(['curl', GCLOUD_URL, '-o', GCLOUD_ARCHIVE])
31 subprocess.check_call(['tar', '-xzf', GCLOUD_ARCHIVE,
40 subprocess.check_call([gcloud_exe, 'components',
43 subprocess.check_call([gcloud_exe, 'components',
46 subprocess.check_call([gcloud_exe, 'components',
49 subprocess.check_call([gcloud_exe, 'components',
55 subprocess.check_call(['chmod', '+x', os.path.join(target_dir, fs_jar)])
56 subprocess.check_call([gcloud_exe, 'components','update', '--quiet'], env=env)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dwin_tool.py17 import subprocess
122 link = subprocess.Popen([args[0].replace('/', '\\')] + list(args[1:]),
125 stdout=subprocess.PIPE,
126 stderr=subprocess.STDOUT)
164 subprocess.check_call(
168 subprocess.check_call(
171 subprocess.check_call(
175 subprocess.check_call(ldcmd + add_to_ld)
185 subprocess.check_call(
218 popen = subprocess.Popen(args, shell=True, env=env,
[all …]
/third_party/node/tools/gyp/pylib/gyp/
Dwin_tool.py17 import subprocess
137 link = subprocess.Popen(
141 stdout=subprocess.PIPE,
142 stderr=subprocess.STDOUT,
193 subprocess.check_call(
198 subprocess.check_call(
202 subprocess.check_call(
207 subprocess.check_call(ldcmd + add_to_ld)
217 subprocess.check_call(
256 popen = subprocess.Popen(
[all …]
/third_party/skia/tools/android/
Dupload_to_android.py36 import subprocess
93 subprocess.check_call(
99 subprocess.check_call('%s sync %s tools/repohooks -j 32 -c' % (
104 subprocess.check_call(
106 subprocess.check_call(
108 subprocess.check_call(
133 subprocess.check_call(
136 subprocess.check_call('git cherry-pick FETCH_HEAD', shell=True)
144 subprocess.check_call('git add %s' % SK_USER_CONFIG_PATH, shell=True)
157 subprocess.check_call('git commit --amend -m "%s"' % new_commit_message,
[all …]
/third_party/flutter/skia/tools/android/
Dupload_to_android.py34 import subprocess
91 subprocess.check_call(
97 subprocess.check_call('%s sync %s tools/repohooks -j 32 -c' % (
102 subprocess.check_call(
104 subprocess.check_call(
106 subprocess.check_call(
131 subprocess.check_call(
134 subprocess.check_call('git cherry-pick FETCH_HEAD', shell=True)
142 subprocess.check_call('git add %s' % SK_USER_CONFIG_PATH, shell=True)
155 subprocess.check_call('git commit --amend -m "%s"' % new_commit_message,
[all …]
/third_party/skia/third_party/externals/abseil-cpp/
Droll_abseil.py9 import subprocess
17 subprocess.check_call(['git', 'clone', ABSL_URI],
22 subprocess.check_call(['git', 'checkout', 'main'], cwd=chromium_dir)
23 subprocess.check_call(['git', 'pull', '--rebase'], cwd=chromium_dir)
24 subprocess.check_call(['gclient', 'sync'], cwd=chromium_dir)
30 stdout = subprocess.check_output(['git', 'log', '-n1', '--pretty=short'],
70 subprocess.check_call(params, cwd=chromium_dir)
76subprocess.check_call(['patch', '--strip', '1', '-i', os.path.join(abseil_in_chromium_dir, 'patche…
92 subprocess.check_call(['git', 'add', 'third_party/abseil-cpp'], cwd=chromium_dir)
93 subprocess.check_call(['git', 'commit', '-m', desc], cwd=chromium_dir)
[all …]
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_exit_test.py24 import subprocess
92 process = subprocess.Popen(BASE_COMMAND +
99 process = subprocess.Popen(BASE_SIGTERM_COMMAND +
105 process = subprocess.Popen(BASE_COMMAND +
112 process = subprocess.Popen(BASE_SIGTERM_COMMAND +
119 process = subprocess.Popen(
126 process = subprocess.Popen(
134 process = subprocess.Popen(BASE_COMMAND +
141 process = subprocess.Popen(BASE_SIGTERM_COMMAND +
150 process = subprocess.Popen(BASE_COMMAND +
[all …]

12345678910>>...40