| /freebsd/contrib/kyua/utils/process/ |
| H A D | executor.cpp | 88 /// Mapping of active subprocess PIDs to their execution data. 95 /// Basename of the file containing the stdout of the subprocess. 99 /// Basename of the file containing the stderr of the subprocess. 103 /// Basename of the subdirectory in which the subprocess is actually executed. 106 /// subprocess so that our code can create control files on disk and not 107 /// get them clobbered by the subprocess's activity. 111 /// Prepares a subprocess to run a user-provided hook in a controlled manner. 114 /// \param control_directory Path to the subprocess-specific control directory. 115 /// \param work_directory Path to the subprocess-specific work directory. 133 /// Path to the subprocess-specific work directory. [all …]
|
| H A D | executor.ipp | 59 /// 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. 67 /// If not none, the subprocess will be executed as the provided user and 76 /// \param work_directory Directory to enter 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. 144 /// Forks and executes a subprocess asynchronously in the context of another. [all …]
|
| H A D | isolation_test.cpp | 69 /// Runs the given hook in a subprocess. 71 /// \param hook The code to run in the subprocess. 73 /// \return The status of the subprocess for further validation. 75 /// \post The subprocess.stdout and subprocess.stderr files, created in the 76 /// current directory, contain the output of the subprocess. 82 hook, fs::path("subprocess.stdout"), fs::path("subprocess.stderr")); in fork_and_run() 85 atf::utils::cat_file("subprocess.stdout", "isolated child stdout: "); in fork_and_run() 86 atf::utils::cat_file("subprocess.stderr", "isolated child stderr: "); in fork_and_run() 92 /// Subprocess that validates the cleanliness of the environment. 139 /// Subprocess that checks if user privileges are dropped. [all …]
|
| H A D | child.ipp | 40 /// 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.
|
| H A D | executor_test.cpp | 86 /// Terminates a subprocess without invoking destructors. 89 /// on exit from a subprocess. The reason is that we do not want to invoke any 105 /// Subprocess that creates a cookie file in its work directory. 119 /// Runs the subprocess. 135 /// Subprocess that deletes all files in the current directory. 161 /// Subprocess that dumps user configuration. 171 /// Subprocess that returns a specific exit code. 184 /// Runs the subprocess. 197 /// Subprocess that just blocks. 213 /// Subprocess that writes to stdout and stderr. [all …]
|
| H A D | operations.cpp | 116 /// of the subprocess is not "polluted" by our own messages. 143 /// of the subprocess is not "polluted" by our own messages. 199 /// process group is racy: if the subprocess has not yet had a chance to prepare 240 /// Blocks to wait for completion of a subprocess. 259 /// Blocks to wait for completion of any subprocess.
|
| H A D | executor.hpp | 58 /// that acts as the subprocess' work directory; the second is the "control 101 /// Maintenance data held while a subprocess is being executed. 103 /// This data structure exists from the moment a subprocess is executed via 107 /// subprocess. However, the PID contained in here can be used to match
|
| /freebsd/sys/contrib/openzfs/.github/workflows/scripts/ |
| H A D | generate-ci-type.py | 16 import subprocess 67 last_commit_message_raw = subprocess.run([ 69 ], check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 76 all_commit_message_raw = subprocess.run([ 79 ], check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 90 changed_files_raw = subprocess.run([ 92 ], check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| /freebsd/contrib/googletest/googlemock/test/ |
| H A D | gmock_leak_test.py | 57 gmock_test_utils.Subprocess( 62 0, gmock_test_utils.Subprocess(TEST_WITH_ON_CALL, env=environ).exit_code 68 gmock_test_utils.Subprocess( 75 gmock_test_utils.Subprocess( 83 gmock_test_utils.Subprocess( 89 gmock_test_utils.Subprocess( 97 gmock_test_utils.Subprocess( 106 gmock_test_utils.Subprocess(
|
| /freebsd/contrib/bc/scripts/ |
| H A D | karatsuba.py | 32 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/sbin/ping/tests/ |
| H A D | injection.py | 6 import subprocess 29 create_proc = subprocess.run( 38 subprocess.run(["ifconfig", tun.iface, "up"]) 39 subprocess.run(["ifconfig", tun.iface, SRC_ADDR, DST_ADDR]) 41 ping = subprocess.Popen(
|
| /freebsd/tools/build/ |
| H A D | make.py | 58 import subprocess 84 subprocess.check_call(cmd, **kwargs) 95 bmake_source_version = subprocess.run([ 97 stdout=subprocess.PIPE, stderr=subprocess.PIPE).stdout.strip() 105 bmake_installed_version = subprocess.run([ 107 stdout=subprocess.PIPE, stderr=subprocess.PIPE).stdout.strip() 204 path = subprocess.run(["brew", "--prefix", package], stdout=subprocess.PIPE, 205 stderr=subprocess.PIPE).stdout.strip()
|
| /freebsd/contrib/googletest/googletest/test/ |
| H A D | gtest_test_utils.py | 35 import subprocess 197 class Subprocess: class 209 env: Dictionary with environment to pass to the subprocess. 224 stderr = subprocess.STDOUT 226 stderr = subprocess.PIPE 228 p = subprocess.Popen( 230 stdout=subprocess.PIPE,
|
| H A D | googletest-catch-exceptions-test.py | 68 TEST_LIST = gtest_test_utils.Subprocess( 75 BINARY_OUTPUT = gtest_test_utils.Subprocess([EXE_PATH], env=environ).output 77 EX_BINARY_OUTPUT = gtest_test_utils.Subprocess( 302 uncaught_exceptions_ex_binary_output = gtest_test_utils.Subprocess(
|
| H A D | googletest-filter-unittest.py | 57 # script in a subprocess to print whether the variable is STILL in 63 child = gtest_test_utils.Subprocess( 71 # a python script in a subprocess to print whether the variable 79 child = gtest_test_utils.Subprocess( 128 in gtest_test_utils.Subprocess([COMMAND, LIST_TESTS_FLAG]).output 195 return gtest_test_utils.Subprocess( 203 p = gtest_test_utils.Subprocess([COMMAND] + (args or []), env=environ) 221 p = gtest_test_utils.Subprocess([COMMAND] + (args or []), env=environ)
|
| /freebsd/contrib/llvm-project/lldb/bindings/python/ |
| H A D | lldb-python | 3 import subprocess 10 info_json = subprocess.run([lldb, "-l", "python", "-print-script-interpreter-info"], 11 check=True, stdout=subprocess.PIPE, encoding='utf8').stdout
|
| /freebsd/crypto/openssh/regress/ |
| H A D | agent-subprocess.sh | 1 # $OpenBSD: agent-subprocess.sh,v 1.1 2020/06/19 05:07:09 dtucker Exp $ 4 tid="agent subprocess" 6 trace "ensure agent exits when run as subprocess"
|
| /freebsd/tools/test/hwpmc/ |
| H A D | pmctest.py | 52 import subprocess 53 from subprocess import PIPE 79 p = subprocess.Popen(["pmccontrol", "-L"], stdout=PIPE) 89 p = subprocess.Popen(["pmcstat", "-p", counter, options.program],
|
| /freebsd/release/scripts/ |
| H A D | list-new-changesets.py | 48 import subprocess 85 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
| /freebsd/tests/examples/ |
| H A D | test_examples.py | 10 import subprocess 131 assert subprocess.run("ping -c1 192.0.2.1".split()).returncode == 0 132 assert subprocess.run("ping -c1 2001:db8::1".split()).returncode == 0 197 assert subprocess.run("ping -c5 2001:db8:a::2".split()).returncode == 0 205 assert subprocess.run("ping -c5 2001:db8:b::2".split()).returncode == 0
|
| /freebsd/contrib/kyua/engine/ |
| H A D | scheduler.hpp | 93 /// This method is intended to be called within a subprocess and is expected 105 /// \param status The termination status of the subprocess used to execute 118 /// This method is intended to be called within a subprocess and is expected 135 /// This method is intended to be called within a subprocess and is expected 152 /// \param status The termination status of the subprocess used to execute 186 /// Base type containing the results of the execution of a subprocess.
|
| H A D | atf.cpp | 85 /// This method is intended to be called within a subprocess and is expected 120 /// \param status The termination status of the subprocess used to execute 170 /// This method is intended to be called within a subprocess and is expected 205 /// This method is intended to be called within a subprocess and is expected 237 /// \param status The termination status of the subprocess used to execute
|
| H A D | plain.cpp | 60 /// This method is intended to be called within a subprocess and is expected 87 /// This method is intended to be called within a subprocess and is expected 119 /// \param status The termination status of the subprocess used to execute
|
| /freebsd/tests/atf_python/sys/net/ |
| H A D | tools.py | 4 import subprocess 27 ps = subprocess.Popen("/sbin/pfctl -g -f -", shell=True, 28 stdin=subprocess.PIPE)
|
| /freebsd/crypto/openssl/fuzz/ |
| H A D | helper.py | 16 import subprocess 49 subprocess.call(cmd)
|