diff options
Diffstat (limited to 'Lib/popen2.py')
-rw-r--r-- | Lib/popen2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/popen2.py b/Lib/popen2.py index 07ed6d6..f00cb83 100644 --- a/Lib/popen2.py +++ b/Lib/popen2.py @@ -62,7 +62,7 @@ class Popen3: for i in range(3, MAXFD): try: os.close(i) - except: + except OSError: pass try: os.execvp(cmd[0], cmd) |