/third_party/python/Lib/test/ |
D | test_subprocess.py | 7 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 …]
|
D | test_cmd_line.py | 6 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/flutter/skia/infra/bots/assets/clang_linux/ |
D | create.py | 14 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/ |
D | git_utils.py | 10 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 …]
|
D | utils.py | 14 import subprocess 22 GIT = subprocess.check_output([WHICH, 'git']).splitlines()[0] 76 subprocess.check_call([GIT, 'clone', repo_url, dest_dir]) 90 output = subprocess.check_output([GIT, 'stash']) 94 self._orig_branch = subprocess.check_output([ 97 self._orig_branch = subprocess.check_output([ 101 subprocess.check_call([GIT, 'fetch', 'origin']) 103 subprocess.check_call([GIT, 'checkout', '-b', self._branch, 108 subprocess.check_call([GIT, 'reset', '--hard', 'HEAD']) 109 subprocess.check_call([GIT, 'checkout', self._orig_branch]) [all …]
|
/third_party/skia/infra/bots/ |
D | git_utils.py | 11 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 …]
|
D | utils.py | 15 import subprocess 25 GIT = subprocess.check_output([WHICH, 'git']).splitlines()[0] 79 subprocess.check_call([GIT, 'clone', repo_url, dest_dir]) 93 output = subprocess.check_output([GIT, 'stash']) 97 self._orig_branch = subprocess.check_output([ 100 self._orig_branch = subprocess.check_output([ 104 subprocess.check_call([GIT, 'fetch', 'origin']) 106 subprocess.check_call([GIT, 'checkout', '-b', self._branch, 111 subprocess.check_call([GIT, 'reset', '--hard', 'HEAD']) 112 subprocess.check_call([GIT, 'checkout', self._orig_branch]) [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/android/ |
D | compress_symbols.py | 11 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/ |
D | compress_symbols.py | 11 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/node/test/parallel/ |
D | test-child-process-spawn-event.js | 6 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/ |
D | create.py | 14 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/python/Lib/ctypes/ |
D | util.py | 3 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/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | win_tool.py | 17 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/ |
D | win_tool.py | 17 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/typescript/tests/ts_extra_tests/tool/ |
D | testcfg.py | 21 import subprocess 163 …process = subprocess.Popen(self.__get_es2abc_cmd(filename), stdin=subprocess.PIPE, stdout=subproce… 164 stderr=subprocess.PIPE) 196 … process = subprocess.Popen(self.__get_tsc_cmd(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, 197 stderr=subprocess.PIPE) 219 … process = subprocess.Popen(self.__get_node_cmd(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, 220 stderr=subprocess.PIPE) 241 …process = subprocess.Popen(self.__get_es2abc_cmd(self.path), stdin=subprocess.PIPE, stdout=subproc… 242 stderr=subprocess.PIPE) 260 … process = subprocess.Popen(self._get_ark_js_cmd(), stdin=subprocess.PIPE, stdout=subprocess.PIPE, [all …]
|
/third_party/mesa3d/bin/ |
D | commit_in_branch.py | 4 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/tools/android/ |
D | upload_to_android.py | 36 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/ |
D | upload_to_android.py | 34 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/resources/sksl/ |
D | update_fuzzer.py | 17 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/flutter/skia/third_party/externals/dawn/scripts/ |
D | git-clang-format | 33 import subprocess 257 p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 288 p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE) 362 git_metadata = subprocess.Popen(git_metadata_cmd, stdin=subprocess.PIPE, 363 stdout=subprocess.PIPE) 389 p = subprocess.Popen(cmd, stdin=subprocess.PIPE) 416 git_show = subprocess.Popen(git_show_cmd, stdin=subprocess.PIPE, 417 stdout=subprocess.PIPE) 423 clang_format_stdin = subprocess.PIPE 425 clang_format = subprocess.Popen(clang_format_cmd, stdin=clang_format_stdin, [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/ |
D | roll_abseil.py | 9 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) 76 …subprocess.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/flutter/skia/infra/bots/assets/gcloud_linux/ |
D | create.py | 16 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/skia/infra/bots/assets/gcloud_linux/ |
D | create.py | 16 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/python/Doc/library/ |
D | asyncio-subprocess.rst | 3 .. _asyncio-subprocess: 9 **Source code:** :source:`Lib/asyncio/subprocess.py`, 27 stdout=asyncio.subprocess.PIPE, 28 stderr=asyncio.subprocess.PIPE) 46 Because all asyncio subprocess functions are asynchronous and asyncio 67 Create a subprocess. 71 (if :attr:`subprocess.PIPE` is passed to *stdout* and *stderr* arguments). 73 Return a :class:`~asyncio.subprocess.Process` instance. 93 (if :attr:`subprocess.PIPE` is passed to *stdout* and *stderr* arguments). 95 Return a :class:`~asyncio.subprocess.Process` instance. [all …]
|
/third_party/skia/tools/ |
D | build_command_buffer.py | 18 import subprocess 96 subprocess.check_call(['git', 'fetch'], cwd=chrome_src_dir) 97 except subprocess.CalledProcessError as error: 102 subprocess.check_call(['git', 'checkout', args.chrome_revision], 104 except subprocess.CalledProcessError as error: 110 subprocess.check_call([gclient, 'sync', '--reset', '--force', 113 except subprocess.CalledProcessError as error: 119 subprocess.check_call([gclient, 'runhooks'], cwd=chrome_src_dir) 120 except subprocess.CalledProcessError as error: 134 subprocess.check_call([gn, 'gen', chrome_target_dir_rel, '--args='+gnargs], [all …]
|