问题
For some external program (not all), I want the program running independently outside Emacs, after executing the command. In another word, if I close Emacs, the external program can still run.
PS: my operating system is windows.
回答1:
I think (w32-shell-execute "start" "myprog" "args")
should do the trick.
来源:https://stackoverflow.com/questions/14335853/in-emacs-how-to-execute-external-command-not-as-a-emacs-process