I would like to run a process in the background in Vim on Mac OS X (or Unix in general).
I would hope and expect the following, or some variant, to accomplish this:
execute "!my_command &"
or some other alternative.
Unfortunately this does not seem to execute
my_command at all. I would expect there to be some lightweight option.
One option would be to write a wrapper script that forks the command and exits, but I'm sure someone has done that already (GNU Parallel?).
What is the best way to accomplish this?