/pkg/src/modules/portable/ |
H A D | os_sunos.py | 33 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 D | certgenerator.py | 28 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 D | run.py | 39 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 D | pkg5unittest.py | 52 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 D | firmware.py | 32 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 D | pkgremote.py | 36 import subprocess namespace 139 # file descriptors. On UNIX, subprocess makes file 143 # module subprocess here. 151 p = subprocess.Popen(pkg_cmd,
|
H A D | bootenv.py | 36 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 D | rad_pkg.py | 30 import subprocess namespace 378 p = subprocess.Popen(args, env=os.environ, 379 stdout=subprocess.PIPE)
|
/pkg/src/tests/api/ |
H A D | t_misc.py | 36 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 D | t_plat.py | 35 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 D | generate_certs.py | 29 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 D | pkgsubprocess.py | 30 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 D | smf.py | 33 import pkg.pkgsubprocess as subprocess namespace 87 proc = subprocess.Popen(args, stdout=subprocess.PIPE, 88 stderr=subprocess.STDOUT)
|
H A D | cpiofile.py | 47 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 D | depotcontroller.py | 39 import pkg.pkgsubprocess as subprocess namespace 423 self.__depot_handle = subprocess.Popen(pargs, env=newenv, 424 stdin=subprocess.PIPE,
|
H A D | config.py | 59 import subprocess namespace 1801 p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE, 1802 stderr=subprocess.PIPE)
|
/pkg/src/modules/flavor/ |
H A D | python.py | 29 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 D | t_pkg_history.py | 38 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 D | t_pkgsurf.py | 38 import subprocess namespace 595 ret = subprocess.call(["/usr/bin/gdiff", "-Naur", path,
|
H A D | t_pkgrecv.py | 46 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 D | t_pkglint.py | 37 import subprocess namespace
|
H A D | t_pkg_verify.py | 34 import subprocess namespace
|
/pkg/src/ |
H A D | setup.py | 35 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 D | depot.py | 76 import subprocess namespace 687 p = subprocess.Popen(cmdargs, 688 stdout=subprocess.PIPE,
|
/pkg/src/modules/actions/ |
H A D | driver.py | 40 import pkg.pkgsubprocess as subprocess namespace 121 proc = subprocess.Popen(args, stdout = subprocess.PIPE, 122 stderr = subprocess.STDOUT)
|