On Thu, Feb 04, 2016 at 08:29:10PM +0100, Bram Moolenaar wrote:

> > That's what
> > 
> >     let pid = system("./test_channel.py& echo $!")
> >     ...
> >     call system("kill " . pid)
> > 
> > was all about -- the script would emit the pid of the job running in the
> > shell, the vimscript would capture that, and then pass it to a kill
> > command.  That's about as precise as we can get, I think.
> 
> Unfortunately it doesn't work:
> 
> Caught exception in Test_communicate(): Vim(let):E484: Can't open file /tmp/
> vaLXnoR/0 @ function Test_communicate[1]..<SNR>3_start_server, line 7
> 
> Somehow the command fails.

Huh.  It worked for me in a simpler testcase.  I can try to track this
down, but probably not until next week.

Danek

-- 
-- 
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