On Tue, 12 Mar 2024 08:03:16 +0900 Takashi Yano wrote: > + /* Set read pipe itself always non-blocking for cygwin process. > + Blocking/non-blocking is simulated in raw_read(). For write > + pipe, follow is_nonblocking(). */ > + int fd; > + cygheap_fdenum cfd (false); > + while ((fd = cfd.next ()) >= 0) > + if (cfd->get_dev () == FH_PIPEW > + && (fd == fileno_stdout || fd == fileno_stderr)) > + { > + fhandler_pipe *pipe = (fhandler_pipe *)(fhandler_base *) cfd; > + pipe->set_pipe_non_blocking (false); Sorry. Commenting here is not right. v4 patch attached. -- Takashi Yano