about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-04-02 18:11:50 +0200
committerhut <hut@lavabit.com>2012-04-02 18:12:07 +0200
commit53f8129c4177194a096f4895586fe77915580daf (patch)
tree60c8c22d2ad0ebac5a6634ec775f2689282b7a97 /ranger
parent49e5aa690cdaac55e3d0a9423fb4b5cb6b3a2fd8 (diff)
downloadranger-53f8129c4177194a096f4895586fe77915580daf.tar.gz
ext.rifle: re-added "&" at the end of setsid command
this used to block ranger when starting programs with f flag
Diffstat (limited to 'ranger')
-rwxr-xr-xranger/ext/rifle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py
index 08f89af3..daf9381f 100755
--- a/ranger/ext/rifle.py
+++ b/ranger/ext/rifle.py
@@ -199,7 +199,7 @@ class Rifle(object):
 			action = "$TERMCMD -e %s" % action
 		if 'f' in flags:
 			if 'setsid' in get_executables():
-				action = "setsid %s > /dev/null 2> /dev/null" % action
+				action = "setsid %s > /dev/null 2> /dev/null &" % action
 			else:
 				action = "nohup %s > /dev/null 2> /dev/null &" % action
 		return action