diff options
Diffstat (limited to 'Lib/popen2.py')
-rw-r--r-- | Lib/popen2.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/popen2.py b/Lib/popen2.py index e1bf363..954eb29 100644 --- a/Lib/popen2.py +++ b/Lib/popen2.py @@ -9,6 +9,8 @@ and popen3(cmd) which return two or three pipes to the spawned command. import os import sys +__all__ = ["popen2", "popen3", "popen4"] + MAXFD = 256 # Max number of file descriptors (os.getdtablesize()???) _active = [] @@ -155,7 +157,8 @@ else: inst = Popen4(cmd, bufsize) return inst.fromchild, inst.tochild - + __all__.extend(["Popen3", "Popen4"]) + def _test(): cmd = "cat" teststr = "ab cd\n" |