Saturday, May 7, 2016

Re: Understanding job_start()

On 2016-05-07 10:28:43 +0000, Nicola said:

> On 2016-05-07 07:04:44 +0000, Nicola said:
>>>>
>>>>
>>>> call job_start(['lualatex', 'foo.tex', '>/dev/null', '2>&1'],
>>>> \ {"in_io": "null", "out_io": "null", "err_io": "null"})
>>>>
>>>> This still fills the screen with the output from lualatex.
>
> Minimal example:
>
> vim -u NONE
> :call job_start(['echo','hello'],{"out_io":"null"})
>
> This prints 'hello' in the top-left corner of the screen.

Likely related: I cannot send the output to a buffer either. When I try:

:call job_start(['echo', 'hello'], {"out_io": "buffer", "out_name": ""})

the new buffer contains only one line:

Reading from channel output...

But 'hello' is not appended. I have also tried to explicitly set "mode"
to "nl" or "raw", but the result is the same. Ditto for "err_io":"buffer".

Nicola


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

No comments:

Post a Comment