Pipes bug when spawning non-cygwin processes

Takashi Yano takashi.yano@nifty.ne.jp
Tue Feb 18 19:43:00 GMT 2020

On Tue, 18 Feb 2020 14:24:38 -0500
Edward Lam wrote:
> I'm noticing a different problem with pipes that isn't fixed even in the
> latest 2020-02-12 cygwin1.dll snapshot. When a native graphical Windows
> process is launched (in the foreground without & in the command line) from
> mintty/bash, the STARTUPINFO structure for the child Windows process
> correctly has the STARTF_USESTDHANDLES bit set into info.dwFlags BUT both
> info.hStdInput and info.hStdOutput handles are 0, only info.hStdError is
> assigned to a handle. So in the older cygwin versions, this application's
> printf() calls go out to the shell as desired but not anymore.

Could you please provide a simple test case?

Takashi Yano <takashi.yano@nifty.ne.jp>

Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list