Permalink
Browse files

ext.rifle: Fixed rifle when running as standalone program

  • Loading branch information...
1 parent e13ee7f commit e8db9e7da48f266e4860924196b7a47860612251 @hut hut committed Aug 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ranger/ext/rifle.py
View
@@ -83,7 +83,7 @@ def Popen_forked(*args, **kwargs):
os.setsid()
kwargs['stdin'] = open(os.devnull, 'r')
kwargs['stdout'] = kwargs['stderr'] = open(os.devnull, 'w')
- subprocess.Popen(*args, **kwargs)
+ Popen(*args, **kwargs)
os._exit(0)
return True

0 comments on commit e8db9e7

Please sign in to comment.