Searched refs:subprocess (Results 1 - 25 of 34) sorted by relevance

12

/pkg/src/modules/portable/
H A Dos_sunos.py33 import subprocess namespace
61 res = subprocess.Popen(["/usr/bin/file", "-f", t_path],
62 stdout=subprocess.PIPE).communicate()[0].splitlines()
/pkg/src/tests/
H A Dcertgenerator.py28 import subprocess namespace
81 p = subprocess.Popen(cmd, stdout=fh)
100 p = subprocess.Popen(cmd)
128 p = subprocess.Popen(cmd)
145 p = subprocess.Popen(cmd)
152 p = subprocess.Popen(cmd)
162 p = subprocess.Popen(cmd)
192 p = subprocess.Popen(cmd)
210 p = subprocess.Popen(cmd)
240 p = subprocess
[all...]
H A Drun.py39 import subprocess namespace
42 sys.exit(subprocess.call(cmd))
193 import subprocess namespace
371 if subprocess.Popen(cmd).wait() != 0:
430 subprocess.call([
486 ret = subprocess.call(cmd)
531 subprocess.Popen(["coverage", "combine"], env=newenv).wait()
H A Dpkg5unittest.py52 import subprocess namespace
366 """Less featureful but inspired by subprocess.Popen.
367 Runs subprocess in a pty"""
467 p = subprocess.Popen(cmdline,
471 stdout=subprocess.PIPE,
472 stderr=subprocess.PIPE)
485 # In Python 3, subprocess returns bytes, while our pkg CLI
841 s = subprocess.Popen(" ".join(cmd),
843 stdout=subprocess.PIPE,
844 stderr=subprocess
[all...]
/pkg/src/modules/client/
H A Dfirmware.py32 import pkg.pkgsubprocess as subprocess namespace
44 """Performs the subprocess invocation and returns
75 proc = subprocess.Popen(
77 stdout=subprocess.PIPE,
78 stderr=subprocess.STDOUT)
H A Dpkgremote.py36 import subprocess namespace
139 # file descriptors. On UNIX, subprocess makes file
143 # module subprocess here.
151 p = subprocess.Popen(pkg_cmd,
H A Dbootenv.py36 import pkg.pkgsubprocess as subprocess namespace
140 ret = subprocess.call(cmd,
141 stdout = open(os.devnull), stderr=subprocess.STDOUT)
1090 ret = subprocess.call(cmd,
1091 stdout = open(os.devnull), stderr=subprocess.STDOUT)
H A Drad_pkg.py30 import subprocess namespace
378 p = subprocess.Popen(args, env=os.environ,
379 stdout=subprocess.PIPE)
/pkg/src/tests/api/
H A Dt_misc.py36 import subprocess namespace
134 import subprocess
148 print subprocess.check_output(['ps', '-o', 'rss=', '-p',
162 res = int(subprocess.check_output(['python2.7', tmpfile]))
176 res = int(subprocess.check_output(['python2.7', tmpfile]))
189 res = int(subprocess.check_output(['python2.7', tmpfile]))
H A Dt_plat.py35 import pkg.pkgsubprocess as subprocess namespace
98 proc = subprocess.Popen([exefile], stdin = subprocess.PIPE)
141 proc = subprocess.Popen([exefile], stdin = subprocess.PIPE)
/pkg/src/tests/ro_data/signing_certs/
H A Dgenerate_certs.py29 import pkg.pkgsubprocess as subprocess namespace
180 p = subprocess.Popen(cmdline, stdout=subprocess.PIPE,
181 stderr=subprocess.PIPE, shell=True)
/pkg/src/modules/
H A Dpkgsubprocess.py30 import subprocess namespace
44 PIPE = subprocess.PIPE
45 STDOUT = subprocess.STDOUT
47 class Popen(subprocess.Popen):
51 subprocess.Popen.__init__(self, args, **kwargs)
154 # The bundled subprocess module takes a dict in
273 # The bundled subprocess module takes a dict in
H A Dsmf.py33 import pkg.pkgsubprocess as subprocess namespace
87 proc = subprocess.Popen(args, stdout=subprocess.PIPE,
88 stderr=subprocess.STDOUT)
H A Dcpiofile.py47 import pkg.pkgsubprocess as subprocess namespace
765 p = subprocess.Popen(cmd.split(),
766 stdin=subprocess.PIPE,
767 stdout=subprocess.PIPE,
768 stderr=subprocess.PIPE)
H A Ddepotcontroller.py39 import pkg.pkgsubprocess as subprocess namespace
423 self.__depot_handle = subprocess.Popen(pargs, env=newenv,
424 stdin=subprocess.PIPE,
H A Dconfig.py59 import subprocess namespace
1801 p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE,
1802 stderr=subprocess.PIPE)
/pkg/src/modules/flavor/
H A Dpython.py29 import subprocess namespace
92 """This exception is raised when the subprocess created to analyze the
106 """This exception is used when the output from the subprocess does not
294 sp = subprocess.Popen(cmd, env=newenv, stdout=subprocess.PIPE,
295 stderr=subprocess.PIPE)
/pkg/src/tests/cli/
H A Dt_pkg_history.py38 import subprocess namespace
581 p = subprocess.Popen(["/usr/bin/locale", "-a"],
582 stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
584 # subprocess return bytes and we need str
H A Dt_pkgsurf.py38 import subprocess namespace
595 ret = subprocess.call(["/usr/bin/gdiff", "-Naur", path,
H A Dt_pkgrecv.py46 import subprocess namespace
1146 ret = subprocess.call(["/usr/bin/gdiff", "-Naur", "-x",
1153 ret = subprocess.call(["/usr/bin/gdiff", "-Naur", "-x",
1166 ret = subprocess.call(["/usr/bin/gdiff", "-Naur", "-x",
1186 ret = subprocess.call(["/usr/bin/gdiff", "-Naur", "-x",
H A Dt_pkglint.py37 import subprocess namespace
H A Dt_pkg_verify.py34 import subprocess namespace
/pkg/src/
H A Dsetup.py35 import subprocess namespace
88 # Unbuffer stdout and stderr. This helps to ensure that subprocess output
851 ret = subprocess.Popen(args, cwd=swdir, env=env,
1151 p = subprocess.Popen(['hg', 'id', '-i'], stdout = subprocess.PIPE)
1290 p = subprocess.Popen(
1292 stdout=subprocess.PIPE)
1317 p = subprocess.Popen(
1586 subprocess.call(cmd)
H A Ddepot.py76 import subprocess namespace
687 p = subprocess.Popen(cmdargs,
688 stdout=subprocess.PIPE,
/pkg/src/modules/actions/
H A Ddriver.py40 import pkg.pkgsubprocess as subprocess namespace
121 proc = subprocess.Popen(args, stdout = subprocess.PIPE,
122 stderr = subprocess.STDOUT)

Completed in 954 milliseconds

12