about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorEmanuel Guevel <guevel.emanuel@gmail.com>2012-11-18 17:23:41 +0100
committerEmanuel Guevel <guevel.emanuel@gmail.com>2012-11-18 17:23:41 +0100
commit042c792e5eee82757517f8702947d154c057486f (patch)
tree469c95ea7ac20e2839793b301ca6488da3d52f09
parent172591f762e9b7f67f7e8e3649a9a6c1066528a3 (diff)
downloadranger-042c792e5eee82757517f8702947d154c057486f.tar.gz
ext.popen_forked: get rid of zombies
-rw-r--r--ranger/ext/popen_forked.py2
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