Searched refs:popen2 (Results 1 – 25 of 25) sorted by relevance
12 import popen243 popen2._cleanup()45 self.assertFalse(popen2._active, "Active pipes when test starts" +46 repr([c.cmd for c in popen2._active]))49 for inst in popen2._active:51 popen2._cleanup()52 self.assertFalse(popen2._active, "popen2._active not empty")73 r, w = popen2.popen2(self.cmd)78 r, w, e = popen2.popen3([self.cmd])81 r, w, e = popen2.popen3(self.cmd)[all …]
2 :mod:`popen2` --- Subprocesses with accessible I/O streams5 .. module:: popen220 preferable to using the :mod:`popen2` module.35 not available when using the :func:`popen2`, :func:`popen3`, and :func:`popen4`38 from the ones returned by the :mod:`popen2` module.)41 .. function:: popen2(cmd[, bufsize[, mode]])68 created using the :func:`popen2` and :func:`popen3` factory functions described163 import popen2165 r, w, e = popen2.popen3('python slave.py')
24 popen2.rst
20 popen2.*799 Replacing :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`816 (child_stdin, child_stdout) = os.popen2("cmd", mode, bufsize)843 On Unix, os.popen2, os.popen3 and os.popen4 also accept a sequence as848 (child_stdin, child_stdout) = os.popen2(["/bin/ls", "-l"], mode,869 Replacing functions from the :mod:`popen2` module874 (child_stdout, child_stdin) = popen2.popen2("somestring", bufsize, mode)880 On Unix, popen2 also accepts a sequence as the command to execute, in884 (child_stdout, child_stdin) = popen2.popen2(["mycmd", "myarg"], bufsize,891 :class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as[all …]
82 ``os.popen2()``.
538 functions, see :ref:`popen2-flow-control`.541 .. function:: popen2(cmd[, mode[, bufsize]])586 This functionality is also available in the :mod:`popen2` module using functions2013 popen2(...)
77 dsp, rd = os.popen2(sox_base % "")112 dsp,rd = os.popen2(sox_base % "-c 2")141 dsp,rd = os.popen2(sox_base % "")
50 import popen2270 p = popen2.Popen4(command)272 p = popen2.Popen3(command)
141 def popen2(cmd, bufsize=-1, mode='t'): function148 w, r = os.popen2(cmd, mode, bufsize)171 def popen2(cmd, bufsize=-1, mode='t'): function
658 def popen2(cmd, mode="t", bufsize=-1): function
1317 Replacing :func:`os.popen`, :func:`os.popen2`, :func:`os.popen3`1322 (child_stdin, child_stdout) = os.popen2(cmd, mode, bufsize)1363 Replacing functions from the :mod:`popen2` module1368 If the cmd argument to popen2 functions is a string, the command is executed1373 (child_stdout, child_stdin) = popen2.popen2("somestring", bufsize, mode)1381 (child_stdout, child_stdin) = popen2.popen2(["mycmd", "myarg"], bufsize, mode)1387 :class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as1396 * popen2 closes all file descriptors by default, but you have to specify
543 Use the :mod:`popen2` module. For example::545 import popen2546 fromchild, tochild = popen2.popen2("command")566 Note on a bug in popen2: unless your program calls ``wait()`` or568 calls to popen2 will fail because of a limit on the number of child571 ``popen2`` again.
519 Use the :mod:`popen2` module. For example::521 import popen2522 fromchild, tochild = popen2.popen2("command")542 Note on a bug in popen2: unless your program calls ``wait()`` or ``waitpid()``,543 finished child processes are never removed, and eventually calls to popen2 will546 place to insert such a call would be before calling ``popen2`` again.
212 import popen2 as _popen2
121 return int(os.popen2("sysctl -n hw.ncpu")[1].read())
389 the shell's metacharacters). The :mod:`popen2` module offers classes that can394 Instead of :mod:`popen2`'s collection of classes, :mod:`subprocess` contains a
2959 * The :mod:`popen2` module has been deprecated; use the :mod:`subprocess`
2963 * The :mod:`popen2` module has been deprecated; use the :mod:`subprocess`
368 solves the problem. This causes the popen2 test to fail;
1592 - popen2.Popen objects now preserve the command in a .cmd attribute.8622 - os: Add support for popen2() and popen3() on all platforms where9112 os/popen2 -- popen2/popen3/popen4 support under Windows. popen2/popen39208 New popen2/popen3/peopen4 in os module (see Changed Modules above).9622 Add note about popen2 problem on Linux noticed by Pablo Bleyer.10405 Test for popen2 module, by Chris Tismer.13027 - The functions in popen2 have an optional buffer size parameter.13698 - The popen2.py module is now rewritten using a class, which makes
1942 popen2 variations on pipe open.
2485 The popen2 module and os.popen* are deprecated. Use the subprocess module.
17331 linuxaudiodev, md5, MimeWriter, mimify, popen2, rexec, sets, sha,18976 - popen2.Popen objects now preserve the command in a .cmd attribute.26001 - os: Add support for popen2() and popen3() on all platforms where26491 os/popen2 -- popen2/popen3/popen4 support under Windows. popen2/popen326587 New popen2/popen3/peopen4 in os module (see Changed Modules above).27001 Add note about popen2 problem on Linux noticed by Pablo Bleyer.27784 Test for popen2 module, by Chris Tismer.30406 - The functions in popen2 have an optional buffer size parameter.31077 - The popen2.py module is now rewritten using a class, which makes