Yasuhiro Matsumoto wrote: > Below is a patch to enable job_getchannel on Windows. > > https://gist.github.com/mattn/7669319349f19a1773b6 > > test_channel.vim should work with following patch. But > test_channel.vim have a problem that doesn't work with python provided > on msys2/mingw64. The patch for this problem will be present from Ken > Takata in later.
Thanks! Very good work. I removed the code that closes the channel as soon as the job is killed. The idea is that the channel lives on a bit longer. E.g. to read an error message. Also, on Unix it's possible to send SIGHUP, which causes some processes to re-read their config. Not sure if on MS-Windows the kill means the channel can no longer be used. We might want to do something a bit more graceful than just closing it, which also throws away any read-ahead. -- hundred-and-one symptoms of being an internet addict: 268. You get up in the morning and go online before getting your coffee. /// 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.
