On 3 February 2016, Jun T. <[email protected]> wrote:
>
> On 2016/02/03, at 19:04, Jun T. <[email protected]> wrote:
>
> >  call system("killall test_channel.py") this doesn't work either,
> > because the name of the process is not 'test_channel.py' but
> > 'python'.
>
> I forgot to mention that killall works on Linux. killall on Mac (and
> maybe on many non-linux systems) is not so clever.

    pkill(1) should work on (recent) Linux, *BSD, OS-X, and Solaris.

> But even on Linux I believe the server didn't exit but was just
> killed.  If I start test_channel.py manually and connect to it from
> vim, and send '!quit!' to it, the SystemExit exception is raised but
> the server does not exit (on Mac and Linux).

    /lcd

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui