MS Visual C++ v6, when invoking the compiler and other build tools does the following:
create anonymous pipe; duplicate the pipes write handle; open's the file NUL The attached patch makes this work properly.
Ahh, cool, that might help with MinGW's windres.exe, too. It uses _popen, which I've implemented to do basically the same as above. _popen works for a silly little test program I wrote, but windres.exe isn't getting its output. I'll check it out.
Thanks, --Juan
__________________________________ Do you Yahoo!? Yahoo! Mail - now with 250MB free storage. Learn more. http://info.mail.yahoo.com/mail_250