in reply to Re^7: Forks, Pipes and Exec (file descriptors)
in thread Forks, Pipes and Exec

Time to go home for the weekend but here's a little bit more I found out.

I tried to pump various amounts of data through the pipe and found that the pipe seems to complete its first read after 4096 bytes. I'm curious if there is a timeout as well that will let it complete the read.

This makes me ask the question though, if I set the file handle to non blocking and Windows actually understands the non blocking, why can I only read data in after 4096 bytes have been written in? That tells me that Windows isn't doing non blocking IO but supposedly it does support it.

I'll play more this weekend but if anyone has any pointers on what to look for, I'd appreciate it. I'm in the dark on this.

  • Comment on Re^8: Forks, Pipes and Exec (file descriptors)