Skip to content

Conversation

justinmk
Copy link
Member

Trying to get an artifact from
#6299

ZyX-I and others added 22 commits March 19, 2017 14:13
Check whether `repeated_read_cmd` returned nil and did not actually run nvim or 
it did, but still returned nil for whatever reason.
This variant uses `fdopen()` which is not standard, but it fixes problem on my 
system. In next commit `scriptin` will use `FileDescriptor*` from os/fileio in 
place of `FILE*`.
Problem: as fileio is cached and reads blocks this is going to wait
until either EOF or reading enough characters to fill rbuffer. This is
not good when reading user input from stdin as script.
Assume something with system() if second test hangs as well. Assume something 
with reading stdin if not.
@justinmk justinmk closed this Dec 10, 2017
@justinmk justinmk deleted the stdin-s branch December 10, 2017 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants