Reputation: 33026
I've got a script I made mapped to a key in vim.
It runs fine, except that immediately after, vim terminates the shell, and that's what causes the script to not work right.
How can I get this to work right?
Upvotes: 3
Views: 263
Reputation: 8995
map your script using :!nohup COMMAND &
and it should work. This will create a nohup.out file with any output from the command
Upvotes: 2