summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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