Home
last modified time | relevance | path

Searched refs:Popen (Results 1 – 25 of 583) sorted by relevance

12345678910>>...24

/external/selinux/python/semanage/
Dtest-semanage.py3 from subprocess import Popen, PIPE
33 p = Popen(['semanage', object, '-E'], stdout=PIPE)
39 p = Popen(['semanage', "export", '-f', '/tmp/out'], stdout=PIPE)
43 p = Popen(["semanage", "export", "-S", "targeted", "-f", "-"], stdout=PIPE)
47 p = Popen(["semanage", "-S", "targeted", "-o", "-"], stdout=PIPE)
51 p = Popen(['semanage', "import", '-f', '/tmp/out'], stdout=PIPE)
55 p = Popen(["semanage", "import", "-S", "targeted", "-f", "/tmp/out"], stdout=PIPE)
59 p = Popen(["semanage", "-S", "targeted", "-i", "/tmp/out"], stdout=PIPE)
68 p = Popen(['semanage', object, '-l'], stdout=PIPE)
77 p = Popen(['semanage', object, '-lC'], stdout=PIPE)
[all …]
/external/selinux/python/sepolicy/
Dtest_sepolicy.py5 from subprocess import Popen, PIPE
28 p = Popen(['sepolicy', 'manpage', '-d', 'httpd_t'], stdout=PIPE)
34 p = Popen(['sepolicy', 'manpage', '-a'], stdout=PIPE)
40 p = Popen(['sepolicy', 'network', '-l'], stdout=PIPE)
46 p = Popen(['sepolicy', 'network', '-t', 'http_port_t'], stdout=PIPE)
52 p = Popen(['sepolicy', 'network', '-p', '80'], stdout=PIPE)
58 p = Popen(['sepolicy', 'network', '-d', 'httpd_t'], stdout=PIPE)
64 p = Popen(['sepolicy', 'transition', '-s', 'httpd_t'], stdout=PIPE)
70 p = Popen(['sepolicy', 'transition', '-s', 'httpd_t', '-t', 'sendmail_t'], stdout=PIPE)
76 p = Popen(['sepolicy', 'booleans', '-a'], stdout=PIPE)
[all …]
/external/grpc-grpc/test/cpp/naming/
Dresolver_component_tests_runner.py66 tcp_connect_subprocess = subprocess.Popen(python_args([
75 dns_resolver_subprocess = subprocess.Popen(python_args([
101 dns_server_subprocess = subprocess.Popen(python_args([
123 current_test_subprocess = subprocess.Popen([
135 current_test_subprocess = subprocess.Popen([
147 current_test_subprocess = subprocess.Popen([
159 current_test_subprocess = subprocess.Popen([
171 current_test_subprocess = subprocess.Popen([
183 current_test_subprocess = subprocess.Popen([
195 current_test_subprocess = subprocess.Popen([
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_exit_test.py77 process = subprocess.Popen(
84 process = subprocess.Popen(
90 process = subprocess.Popen(
97 process = subprocess.Popen(
104 process = subprocess.Popen(
111 process = subprocess.Popen(
119 process = subprocess.Popen(
126 process = subprocess.Popen(
133 process = subprocess.Popen(
141 process = subprocess.Popen(
[all …]
/external/selinux/sandbox/
Dtest_sandbox.py6 from subprocess import Popen, PIPE
29 p1 = Popen(['cat', '/etc/passwd'], stdout=PIPE)
30 p2 = Popen([sys.executable, 'sandbox', 'grep', 'root'], stdin=p1.stdout, stdout=PIPE)
38 p = Popen([sys.executable, 'sandbox', 'kill', '-HUP', str(pid)], stdout=PIPE, stderr=PIPE)
44 … p = Popen([sys.executable, 'sandbox', 'ping', '-c 1 ', '127.0.0.1'], stdout=PIPE, stderr=PIPE)
50 p = Popen([sys.executable, 'sandbox', 'mkdir', '~/test'], stdout=PIPE, stderr=PIPE)
56 p = Popen([sys.executable, 'sandbox', 'ls', '~'], stdout=PIPE, stderr=PIPE)
62 p = Popen([sys.executable, 'sandbox', 'mail'], stdout=PIPE, stderr=PIPE)
68 p = Popen([sys.executable, 'sandbox', 'sudo'], stdout=PIPE, stderr=PIPE)
74 p = Popen([sys.executable, 'sandbox', '-M', 'id'], stdout=PIPE, stderr=PIPE)
[all …]
/external/python/cpython2/Lib/test/
Dtest_subprocess.py75 class PopenExecuteChildRaises(subprocess.Popen):
147 self.assertRaises(TypeError, subprocess.Popen, invalid_arg_name=1)
148 argcount = subprocess.Popen.__init__.__code__.co_argcount
150 self.assertRaises(TypeError, subprocess.Popen, *too_many_args)
155 p = subprocess.Popen([sys.executable, "-c", 'print "banana"'],
177 p = subprocess.Popen([sys.executable, "-c", code],
187 p = subprocess.Popen([sys.executable, "-c", 'print "banana"'],
196 p = subprocess.Popen(["somethingyoudonthave", "-c",
207 p = subprocess.Popen(["somethingyoudonthave", "-c",
215 p = subprocess.Popen([sys.executable, "-c",
[all …]
/external/python/cpython3/Lib/test/
Dtest_subprocess.py93 class PopenExecuteChildRaises(subprocess.Popen):
104 p = subprocess.Popen(ZERO_RETURN_CMD,
118 p = subprocess.Popen(ZERO_RETURN_CMD,
250 self.assertRaises(TypeError, subprocess.Popen, invalid_arg_name=1)
251 argcount = subprocess.Popen.__init__.__code__.co_argcount
253 self.assertRaises(TypeError, subprocess.Popen, *too_many_args)
258 p = subprocess.Popen([sys.executable, "-c", 'print("banana")'],
280 p = subprocess.Popen([sys.executable, "-c", code],
290 p = subprocess.Popen([sys.executable, "-c", 'print("banana")'],
301 p = subprocess.Popen(args, **kwargs)
[all …]
/external/u-boot/tools/patman/
Dcros_subprocess.py33 class Popen(subprocess.Popen): class
83 super(Popen, self).__init__(args, stdin=stdin,
303 plist = Popen(['ps']).CommunicateFilter(oper.Output)
310 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
319 self.assertRaises(OSError, Popen, [cmd], shell=False)
320 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
329 plist = Popen(cmd, shell=False).CommunicateFilter(oper.Output)
338 plist = Popen(cmd, shell=True).CommunicateFilter(oper.Output)
346 plist = Popen('pwd', shell=shell, cwd='/tmp').CommunicateFilter(oper.Output)
358 plist = Popen(cmd, shell=True, env=env).CommunicateFilter(oper.Output)
[all …]
/external/angle/android/
Dcompress_symbols.py33 nm_cmd = subprocess.Popen([args.nm, '-D', args.output, '--format=posix', '--defined-only'],
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'],
47 awk_cmd = subprocess.Popen(['awk', '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }'],
51 sort_cmd = subprocess.Popen(['sort'], stdin=awk_cmd.stdout, stdout=funcsyms_out)
56 comm_cmd = subprocess.Popen(
/external/python/cpython2/Doc/library/
Dsubprocess.rst42 meet your needs, use the underlying :class:`Popen` interface.
53 that of the :class:`Popen` constructor - this functions passes all
73 Use :class:`Popen` with the :meth:`communicate` method when you
87 that of the :class:`Popen` constructor - this functions passes all
111 Use :class:`Popen` with the :meth:`communicate` method when you
127 same as that of the :class:`Popen` constructor, except that *stdout* is
129 passed directly through to the :class:`Popen` constructor.
160 based on the child process error volume. Use :class:`Popen` with
167 to :class:`Popen` and indicates that a pipe to the standard stream should be
173 Special value that can be used as the *stderr* argument to :class:`Popen` and
[all …]
/external/python/cpython3/Doc/library/
Dsubprocess.rst34 underlying :class:`Popen` interface can be used directly.
51 same as that of the :class:`Popen` constructor - most of the arguments to
56 When used, the internal :class:`Popen` object is automatically created with
62 The *timeout* argument is passed to :meth:`Popen.communicate`. If the timeout
67 The *input* argument is passed to :meth:`Popen.communicate` and thus to the
70 used, the internal :class:`Popen` object is automatically created with
87 to :class:`Popen`.
155 to :class:`Popen` and indicates that the special file :data:`os.devnull`
164 to :class:`Popen` and indicates that a pipe to the standard stream should be
165 opened. Most useful with :meth:`Popen.communicate`.
[all …]
/external/selinux/python/audit2allow/
Dtest_audit2allow.py6 from subprocess import Popen, PIPE
31 p = Popen([
44 …p = Popen([sys.executable, './audit2allow', '-p', 'test_dummy_policy', '-i', 'test.log'], stdout=P…
52 …p = Popen([sys.executable, './audit2why', '-p', 'test_dummy_policy', '-i', 'test.log'], stdout=PIP…
60 …p = Popen([sys.executable, './audit2allow', '-x', '-p', 'test_dummy_policy', '-i', 'test.log'], st…
/external/python/cpython3/Lib/multiprocessing/
Dcontext.py275 from .popen_fork import Popen
276 return Popen(process_obj)
282 from .popen_spawn_posix import Popen
283 return Popen(process_obj)
289 from .popen_forkserver import Popen
290 return Popen(process_obj)
325 from .popen_spawn_win32 import Popen
326 return Popen(process_obj)
/external/webrtc/webrtc/tools/e2e_quality/audio/
Drun_audio_test.py56 proc = subprocess.Popen(command, stdout=subprocess.PIPE)
78 voe_proc = subprocess.Popen(command)
91 play_proc = subprocess.Popen(command)
96 record_proc = subprocess.Popen(command)
115 proc = subprocess.Popen(command, stdout=subprocess.PIPE)
/external/bcc/tests/python/
Dtest_usdt2.py11 from subprocess import Popen, PIPE
83 …comp = Popen(["gcc", "-I", "%s/include" % os.path.dirname(os.path.abspath(inspect.getfile(inspect.…
93 self.app = Popen([self.ftemp.name, "1"])
94 self.app2 = Popen([self.ftemp.name, "11"])
95 self.app3 = Popen([self.ftemp.name, "21"])
/external/python/cpython2/Lib/multiprocessing/
Dforking.py49 if not Popen.thread_is_spawning():
114 class Popen(object): class
243 class Popen(object): class
274 Popen._tls.process_handle = int(hp)
279 del Popen._tls.process_handle
284 return getattr(Popen._tls, 'process_handle', None) is not None
288 return duplicate(handle, Popen._tls.process_handle)
426 if not Popen.thread_is_spawning():
431 return type(conn), (Popen.duplicate_for_child(conn.fileno()),
Dprocess.py127 Popen = self._Popen
129 from .forking import Popen
130 self._popen = Popen(self)
296 from .forking import Popen
297 if not Popen.thread_is_spawning():
/external/python/cpython3/Lib/ctypes/
Dutil.py118 proc = subprocess.Popen(args,
146 proc = subprocess.Popen(("/usr/ccs/bin/dump", "-Lpv", f),
168 proc = subprocess.Popen((objdump, '-p', '-j', '.dynamic', f),
199 proc = subprocess.Popen(('/sbin/ldconfig', '-r'),
230 proc = subprocess.Popen(args,
276 with subprocess.Popen(['/sbin/ldconfig', '-p'],
298 p = subprocess.Popen(cmd, stdout=subprocess.PIPE,
/external/python/cpython2/Lib/ctypes/
Dutil.py101 proc = subprocess.Popen((cmd, '_findLib_gcc', name, temp.name),
128 proc = subprocess.Popen(("/usr/ccs/bin/dump", "-Lpv", f),
145 proc = subprocess.Popen((cmd, '_get_soname', f), shell=True,
175 proc = subprocess.Popen(('/sbin/ldconfig', '-r'),
207 proc = subprocess.Popen(args,
261 p = subprocess.Popen(['/sbin/ldconfig', '-p'],
/external/chromium-trace/catapult/devil/devil/utils/
Dcmd_helper.py97 def Popen(args, stdout=None, stderr=None, shell=None, cwd=None, env=None): function
106 return subprocess.Popen(
112 pipe = Popen(args, stdout=stdout, stderr=stderr, shell=shell, cwd=cwd,
213 return Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
234 pipe = Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
417 process = Popen(args, cwd=cwd, shell=shell, stdout=subprocess.PIPE,
458 process = Popen(args, cwd=cwd, shell=shell, env=env,
/external/capstone/suite/
Dtest_mc.py4 from subprocess import Popen, PIPE, STDOUT
49 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', '-mattr=+msa', syntax] + option, stdout=PI…
51 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', syntax] + option, stdout=PIPE, stdin=PIPE,…
54 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex', '-mattr=+msa'] + option, stdout=PIPE, stdi…
56 …p = Popen(['llvm-mc', '-disassemble', '-print-imm-hex'] + option, stdout=PIPE, stdin=PIPE, stderr=…
/external/selinux/dbus/
Dselinux_server.py11 from subprocess import Popen, PIPE, STDOUT
27 …p = Popen(["/usr/sbin/semanage", "import"], stdout=PIPE, stderr=PIPE, stdin=PIPE, universal_newlin…
41 … p = Popen(["/usr/sbin/semanage", "export"], stdout=PIPE, stderr=PIPE, universal_newlines=True)
55 …p = Popen(["/usr/sbin/semodule", "--list=full"], stdout=PIPE, stderr=PIPE, universal_newlines=True)
/external/python/cpython3/Lib/test/subprocessdata/
Dsigchild_ignore.py6 subprocess.Popen([sys.executable, '-c', 'print("albatross")']).wait()
8 p = subprocess.Popen([sys.executable, '-c', 'print("albatross")'])
/external/python/cpython2/Lib/test/subprocessdata/
Dsigchild_ignore.py6 subprocess.Popen([sys.executable, '-c', 'print("albatross")']).wait()
8 p = subprocess.Popen([sys.executable, '-c', 'print("albatross")'])
/external/vixl/tools/
Dclang_format.py98 p_format = subprocess.Popen(cmd_format,
105 p_diff = subprocess.Popen(cmd_diff,
109 p_colordiff = subprocess.Popen(
121 p_format = subprocess.Popen(cmd_format,

12345678910>>...24