Yasuhiro Matsumoto wrote: > On Monday, March 7, 2016 at 7:12:12 AM UTC+9, Bram Moolenaar wrote: > > I wrote: > > > > > Patch 7.4.1506 > > > Problem: Job cannot read from a file. > > > Solution: Implement reading from a file for Unix. > > > Files: src/eval.c, src/os_unix.c, src/os_win32.c, > > > src/testdir/test_channel.vim > > > > I would appreciate it if someone can implement this for MS-Windows. > > > > If job_start got fail, channel_write_in crash. Please check this patch.
Thanks. I think it's easier to check on the caller side. Also makes sense to not call a channel function if there is no channel. -- A radioactive cat has eighteen half-lives. /// 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.
