Who's using "CYGWIN=tty" and why?
Edward Lam
edward@sidefx.com
Wed May 11 16:00:00 GMT 2011
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().
-Edward
--
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