The buggy behaviour turned up, when starting mingw32-make from an application with the mingw32-make output redirected to that application.
I made a minimal application to reproduce the behaviour. The code was in C# and I included that code in my previous mail.

But using CreateProcess with standard output redirection in C++ should lead to the same behaviour.
There is an example in msdn (search for "CreateProcess redirection"), where one might replace the child application with mingw32-make.


As makefile you can use anything that lets mingw32-make start a new console application.



> > From: Roland Puntaier <[EMAIL PROTECTED]>
> > Date: Fri, 2 Jun 2006 17:36:00 +0200
> >
> > "process_easy: DuplicateHandle(In) failed" is issued, when redirecting the
> > mingw32-make output from a parent process.
> >
> > GetStdHandle returns 0, which is not an error, but also no handle to be
> > duplicated.
>
> Thanks for the report and the patch, but could you please post a
> minimal recipe to reproduce the bug?
>
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to