Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/bc/scripts/
H A Dkaratsuba.py32 import subprocess
44 return subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env)
182 p = subprocess.run(cmd + sys.argv[args_idx:], stderr=subprocess.PIPE)
197 p = subprocess.run(cmd + sys.argv[args_idx:], stderr=subprocess.PIPE)
217 p = subprocess.run(cmd, input=indata, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
/freebsd-13.1/contrib/serf/build/
H A Dcheck.py27 import subprocess
57 subprocess.check_call([SERF_RESPONSE_EXE, case])
58 except subprocess.CalledProcessError:
64 subprocess.check_call(TEST_ALL_EXE)
65 except subprocess.CalledProcessError:
/freebsd-13.1/contrib/kyua/utils/process/
H A Dexecutor.ipp59 /// Directory to enter when running the subprocess.
62 /// subprocess operations do not inadvertently affect our files.
65 /// User to switch to when running the subprocess.
89 /// Body of the subprocess.
103 /// Forks and executes a subprocess asynchronously.
106 /// \param hook Function or functor to run in the subprocess.
107 /// \param timeout Maximum amount of time the subprocess can run for.
147 /// thus the new subprocess spawned by this function will run with the same
151 /// \param hook Function or functor to run in the subprocess.
152 /// \param base Context of the subprocess in which to run this one. The
[all …]
H A Dchild.ipp40 /// Spawns a new subprocess and redirects its stdout and stderr to files.
42 /// If the subprocess cannot be completely set up for any reason, it attempts to
45 /// \param hook The function to execute in the subprocess. Must not return.
75 /// Spawns a new subprocess and multiplexes and captures its stdout and stderr.
77 /// If the subprocess cannot be completely set up for any reason, it attempts to
80 /// \param hook The function to execute in the subprocess. Must not return.
/freebsd-13.1/tools/test/hwpmc/
H A Dpmctest.py53 import subprocess
54 from subprocess import PIPE
80 p = subprocess.Popen(["pmccontrol", "-L"], stdout=PIPE)
90 p = subprocess.Popen(["pmcstat", "-p", counter, options.program],
/freebsd-13.1/release/scripts/
H A Dlist-new-changesets.py49 import subprocess
86 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
/freebsd-13.1/contrib/libcbor/doc/source/
H A Dconf.py39 import subprocess, os
43 print(subprocess.check_output('cd ../..; mkdir doc/build; doxygen', shell=True))
46 print(subprocess.check_output('cd ../..; mkdir doc/build; doxygen', shell=True))
/freebsd-13.1/contrib/googletest/googletest/test/
H A Dgtest_test_utils.py46 import subprocess
235 stderr = subprocess.STDOUT
237 stderr = subprocess.PIPE
239 p = subprocess.Popen(command,
240 stdout=subprocess.PIPE, stderr=stderr,
/freebsd-13.1/contrib/libxo/doc/
H A Dconf.py24 import subprocess
31 version = subprocess.check_output(vers_cmd, shell=True).decode("utf-8")
/freebsd-13.1/tools/regression/netinet/ip_id_period/
H A Dip_id_period.py33 import subprocess
38 tcpdump = subprocess.Popen('tcpdump -n -i lo0 -w results.pcap icmp', shell=True)
/freebsd-13.1/tools/build/
H A Dmake.py47 import subprocess
55 subprocess.check_call(cmd, **kwargs)
136 llvm_dir = subprocess.run(["brew", "--prefix", "llvm"],
/freebsd-13.1/contrib/cortex-strings/scripts/
H A Dbench.py14 import subprocess
69 got = subprocess.check_output(cmd.split()).strip()
/freebsd-13.1/sys/contrib/openzfs/cmd/arc_summary/
H A Darc_summary342 import subprocess
201 if 'run' in dir(subprocess):
202 info = subprocess.run(command, stdout=subprocess.PIPE,
206 info = subprocess.check_output(command,
210 except subprocess.CalledProcessError:
H A Darc_summary254 from subprocess import Popen, PIPE
/freebsd-13.1/contrib/subversion/
H A Dwin-tests.py30 import os, sys, subprocess
469 self.proc = subprocess.Popen([self.path] + args[1:], env=env)
950 self.proc = subprocess.Popen([self.path] + self.httpd_args[1:])
990 self.proc = subprocess.Popen([self.path] + self.memcached_args)
1178 r = subprocess.call(args + tuple(['org.apache.subversion.javahl.RunTests']))
1187 r = subprocess.call(args + tuple(['org.tigris.subversion.javahl.RunTests']))
1240 r = subprocess.call([
1298 r = subprocess.call([
1333 r = subprocess.call([ruby_exe] + ruby_args)
/freebsd-13.1/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/
H A Dtest_libzfs_core.py35 import subprocess
74 subprocess.check_output(mount_cmd, stderr=subprocess.STDOUT)
79 subprocess.check_output(unmount_cmd, stderr=subprocess.STDOUT)
80 except subprocess.CalledProcessError as e:
1859 proc = subprocess.Popen(['true'], stdin=subprocess.PIPE)
1865 with subprocess.Popen(['true'], stdin=subprocess.PIPE) as proc:
1881 p = subprocess.Popen(['sleep', '2'], stdin=subprocess.PIPE)
1887 with subprocess.Popen(['sleep', '2'], stdin=subprocess.PIPE) as p:
4140 subprocess.check_output(
4157 subprocess.check_output(
[all …]
/freebsd-13.1/tests/sys/kern/
H A Dsonewconn_overflow.py34 from subprocess import check_output
/freebsd-13.1/crypto/openssh/
H A Dmisc.h112 pid_t subprocess(const char *, const char *, int, char **, FILE **, u_int,
H A Dauth2-pubkey.c533 if ((pid = subprocess("AuthorizedPrincipalsCommand", command, in match_principals_command()
973 if ((pid = subprocess("AuthorizedKeysCommand", command, in user_key_command_allowed2()
/freebsd-13.1/contrib/googletest/googletest/scripts/
H A Dupload.py43 import subprocess
555 p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
/freebsd-13.1/contrib/googletest/googlemock/scripts/
H A Dupload.py43 import subprocess
555 p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
/freebsd-13.1/crypto/openssh/regress/
H A DMakefile46 agent-subprocess \
/freebsd-13.1/sys/contrib/openzfs/tests/test-runner/bin/
H A Dtest-runner.py.in37 from subprocess import PIPE
38 from subprocess import Popen
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticFrontendKinds.td124 "unable to merge a subprocess's serialized diagnostics">,
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerFlags.def60 "in a subprocess")

12