This PR implements a workaround method for pulling the output without blocking by using threads. I can't say I like the workaround, but implementing proper non-blocking IO on Windows would seem to require a lot more work. This workaround has been tested at least on Mac OS and Windows.
On Windows
Unix.set_nonblock
fails.This PR implements a workaround method for pulling the output without blocking by using threads. I can't say I like the workaround, but implementing proper non-blocking IO on Windows would seem to require a lot more work. This workaround has been tested at least on Mac OS and Windows.