diff options
author | Emanuel Guevel <guevel.emanuel@gmail.com> | 2012-11-18 17:23:41 +0100 |
---|---|---|
committer | Emanuel Guevel <guevel.emanuel@gmail.com> | 2012-11-18 17:23:41 +0100 |
commit | 042c792e5eee82757517f8702947d154c057486f (patch) | |
tree | 469c95ea7ac20e2839793b301ca6488da3d52f09 /ranger | |
parent | 172591f762e9b7f67f7e8e3649a9a6c1066528a3 (diff) | |
download | ranger-042c792e5eee82757517f8702947d154c057486f.tar.gz |
ext.popen_forked: get rid of zombies
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/ext/popen_forked.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/popen_forked.py b/ranger/ext/popen_forked.py index 10aab83c..a9cf11a1 100644 --- a/ranger/ext/popen_forked.py +++ b/ranger/ext/popen_forked.py @@ -20,4 +20,6 @@ def Popen_forked(*args, **kwargs): kwargs['stdout'] = kwargs['stderr'] = open(os.devnull, 'w') subprocess.Popen(*args, **kwargs) os._exit(0) + else: + os.wait() return True |