summary refs log tree commit diff stats
path: root/ranger/core/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/core/runner.py')
-rw-r--r--ranger/core/runner.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py
index 2773d2bd..940f410e 100644
--- a/ranger/core/runner.py
+++ b/ranger/core/runner.py
@@ -98,6 +98,7 @@ class Runner(object):
 		self.ui = ui
 		self.logfunc = logfunc
 		self.apps = apps
+		self.zombies = set()
 
 	def _log(self, text):
 		try:
@@ -201,6 +202,8 @@ class Runner(object):
 			else:
 				if context.wait:
 					process.wait()
+				else:
+					self.zombies.add(process)
 				if wait_for_enter:
 					press_enter()
 		finally: