This is the mail archive of the
mailing list for the Cygwin project.
Re: Who's using "CYGWIN=tty" and why?
On 5/11/2011 11:02 AM, Edward Lam wrote:
So this brings us to Cygwin. When we spawn such a Windows mode app from
Cygwin, the method I describe above fails. The call to
_open_osfhandle(info.hStdOutput, _O_TEXT) returns with an error value of
-1. This is likely why jam reports "the handle is invalid".
PS. It would be interesting to find out why this fails. I would have
expected that Cygwin/bash would have spawned the child process such that
the inherited hStdOutput handle was open-able with _open_osfhandle().
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple