diff options
author | hut <hut@lavabit.com> | 2009-07-30 17:33:45 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-30 17:33:45 +0200 |
commit | a404c7f3acaf61a250e23bd33a582d3b73e05e9b (patch) | |
tree | 20ce8ed1606996f53819c53c45129c8cd0ec7133 | |
parent | 101f42b3fa4bd6ffd9dead2ae5e10707c63cb152 (diff) | |
download | ranger-a404c7f3acaf61a250e23bd33a582d3b73e05e9b.tar.gz |
added "< /dev/null" for detached procs in same terminal
-rw-r--r-- | code/action.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/action.rb b/code/action.rb index 89d27bb3..94a202c2 100644 --- a/code/action.rb +++ b/code/action.rb @@ -57,7 +57,7 @@ module Action p = fork { exec('x-terminal-emulator', '-e', 'bash', '-c', what) } # Process.detach(p) else - p = fork { exec "#{what} 2>> /dev/null >> /dev/null" } + p = fork { exec "#{what} 2>> /dev/null >> /dev/null < /dev/null" } Process.detach(p) end end |