Skip to content
Commit 467233f1 authored by Ian Stapleton Cordasco's avatar Ian Stapleton Cordasco
Browse files

Merge branch 'flush_stdout' into 'master'

Flush stdout

As noted in email, it seems that failing to flush stdout in the sub-processes means that some output might go missing. I've observed this in practice with Syntastic in Vim. Here I flush both stdout and stderr before sending the message back to the main process that will allow it to continue. This makes the problem disappear for me.

It occurs to me that if sub-processes are producing output independently, there is also be a risk that they will badly interleave their output. I haven't looked into this - my primary concern is invocation for a single file at a time.

See merge request !7
parents 26f909b2 6e087116
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment