about summary refs log tree commit diff stats
path: root/ranger/core/runner.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-10 16:20:00 +0200
committerhut <hut@lavabit.com>2012-08-10 16:20:00 +0200
commit60dcf60ac6c113faeb02ef7f6afdd0a39cd554d7 (patch)
tree3c84ad570ca947fdc12757103f642c08e34fd06b /ranger/core/runner.py
parent8bd08cae83e091dce189ab8c84db468631c58e13 (diff)
parent60a6b7e639666051e8b7288b932498b19c299a00 (diff)
downloadranger-60dcf60ac6c113faeb02ef7f6afdd0a39cd554d7.tar.gz
Merge branch 'stable'
Conflicts:
	doc/ranger.1
	ranger/defaults/apps.py
Diffstat (limited to 'ranger/core/runner.py')
-rw-r--r--ranger/core/runner.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py
index 52c0b669..c5decf4c 100644
--- a/ranger/core/runner.py
+++ b/ranger/core/runner.py
@@ -165,6 +165,8 @@ class Runner(object):
 				popen_kws[key] = devnull_writable
 			popen_kws['stdin'] = devnull_readable
 		if 'd' in context.flags:
+			if not isinstance(action, str) and 'setsid' in get_executables():
+				action = ['setsid'] + action
 			toggle_ui = False
 			context.wait = False
 		if 'w' in context.flags: