Sunday, August 11, 2013

shell command in a new process/thread for daemon scripts

Hello everyone!

autocmd FileType python :noremap <F5> ggVG:!python<CR><CR>

I wonder if you can pop out a new cmd with Python, or even better, being able to stop it from Vim again so it's more handy.

Right now when this built-in webserver in the script runs it just halts the window at :!python and vim becomes unresponsive unless I kill the process manually.

Regards,
Christoffer.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: