Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_popen2.py12 import popen2
43 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 …]
/external/python/cpython2/Doc/library/
Dpopen2.rst2 :mod:`popen2` --- Subprocesses with accessible I/O streams
5 .. module:: popen2
20 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 described
163 import popen2
165 r, w, e = popen2.popen3('python slave.py')
Dipc.rst24 popen2.rst
Dsubprocess.rst20 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 as
848 (child_stdin, child_stdout) = os.popen2(["/bin/ls", "-l"], mode,
869 Replacing functions from the :mod:`popen2` module
874 (child_stdout, child_stdin) = popen2.popen2("somestring", bufsize, mode)
880 On Unix, popen2 also accepts a sequence as the command to execute, in
884 (child_stdout, child_stdin) = popen2.popen2(["mycmd", "myarg"], bufsize,
891 :class:`popen2.Popen3` and :class:`popen2.Popen4` basically work as
[all …]
Dimaplib.rst82 ``os.popen2()``.
Dos.rst538 functions, see :ref:`popen2-flow-control`.
541 .. function:: popen2(cmd[, mode[, bufsize]])
586 This functionality is also available in the :mod:`popen2` module using functions
2013 popen2(...)
/external/scapy/scapy/modules/
Dvoip.py77 dsp, rd = os.popen2(sox_base % "")
112 dsp,rd = os.popen2(sox_base % "-c 2")
141 dsp,rd = os.popen2(sox_base % "")
/external/googletest/googletest/test/
Dgtest_test_utils.py50 import popen2
270 p = popen2.Popen4(command)
272 p = popen2.Popen3(command)
/external/python/cpython2/Lib/
Dpopen2.py141 def popen2(cmd, bufsize=-1, mode='t'): function
148 w, r = os.popen2(cmd, mode, bufsize)
171 def popen2(cmd, bufsize=-1, mode='t'): function
Dos.py658 def popen2(cmd, mode="t", bufsize=-1): function
/external/python/cpython3/Doc/library/
Dsubprocess.rst1317 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` module
1368 If the cmd argument to popen2 functions is a string, the command is executed
1373 (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 as
1396 * popen2 closes all file descriptors by default, but you have to specify
/external/python/cpython3/Doc/faq/
Dlibrary.rst543 Use the :mod:`popen2` module. For example::
545 import popen2
546 fromchild, tochild = popen2.popen2("command")
566 Note on a bug in popen2: unless your program calls ``wait()`` or
568 calls to popen2 will fail because of a limit on the number of child
571 ``popen2`` again.
/external/python/cpython2/Doc/faq/
Dlibrary.rst519 Use the :mod:`popen2` module. For example::
521 import popen2
522 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 will
546 place to insert such a call would be before calling ``popen2`` again.
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/_setup/py2/
Dshell.py212 import popen2 as _popen2
/external/mesa3d/scons/
Dgallium.py121 return int(os.popen2("sysctl -n hw.ncpu")[1].read())
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/
Dshell.py212 import popen2 as _popen2
/external/python/cpython2/Doc/whatsnew/
D2.4.rst389 the shell's metacharacters). The :mod:`popen2` module offers classes that can
394 Instead of :mod:`popen2`'s collection of classes, :mod:`subprocess` contains a
D2.6.rst2959 * The :mod:`popen2` module has been deprecated; use the :mod:`subprocess`
/external/python/cpython3/Doc/whatsnew/
D2.4.rst389 the shell's metacharacters). The :mod:`popen2` module offers classes that can
394 Instead of :mod:`popen2`'s collection of classes, :mod:`subprocess` contains a
D2.6.rst2963 * The :mod:`popen2` module has been deprecated; use the :mod:`subprocess`
/external/python/cpython2/
DREADME368 solves the problem. This causes the popen2 test to fail;
/external/python/cpython2/Misc/
DHISTORY1592 - popen2.Popen objects now preserve the command in a .cmd attribute.
8622 - os: Add support for popen2() and popen3() on all platforms where
9112 os/popen2 -- popen2/popen3/popen4 support under Windows. popen2/popen3
9208 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
Dcheatsheet1942 popen2 variations on pipe open.
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst2485 The popen2 module and os.popen* are deprecated. Use the subprocess module.
/external/python/cpython3/Misc/
DHISTORY17331 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 where
26491 os/popen2 -- popen2/popen3/popen4 support under Windows. popen2/popen3
26587 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