Lcd wrote:
> 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.
Thanks for the hint. "pkill --full test_channel.py" should work.
I'll add a check for "pkill". I'll assume they all have the --full
argument.
--
"Computers in the future may weigh no more than 1.5 tons."
Popular Mechanics, 1949
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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.