Allow `NonBlockingPopen` not to fail badly and also not to block on MS Windows. Fixes #5969.
Merge pull request #6047 from s0undt3ch/issues/5969-windows-non-blocking-reads

Allow `NonBlockingPopen` not to fail badly and also not to block on MS Windows