Closed nkakouros closed 4 years ago
FYI -- the reason this is failing is that chanclose()
and jobclose()
will close all channels by default. This will close stdin
(good), but also stdout
(bad).
I have a tweaked/conflict-resolved version of this PR at #89 -- thanks for doing all the heavy lifting @nkakouros :slightly_smiling_face:
Great! I am closing this PR and following #89.
I tried to add support for nvim's job control. This still does not work as
chansend()
does not causedoq
to produce output. I tried different stuff but couldn't make it work. The relevant part of nvim's docs mention:I tested that
chansend
in the PR returns the bytes return and it does, which means that nvim writes to stdin of doq successfully.I don't know how to proceed. Any ideas would be welcome.