> I notice on Windows, we can run an external program/command
> asynchronously by using !start. Is there a way to do this on Linux/Mac
> OS? I have goolged quite a bit for this but cannot find anything.

It's a standard "launch this process in the background" shell scheme:

   :!xcalc &

The ampersand tells the shell to spawn the process in the 
background, relinquishing control back to the foreground process.

However any messages printed by the spawned program will meander 
all over your screen (control+L to refresh becomes a good friend 
;-)    So you might want to do something like

   :!xcalc 2>&1 >/dev/null &

to block the output of the spawned program.

(tested from within console Vim on Debian Linux...I expect the 
same works for gvim)

-tim





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/vim_use?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to