> -----Original Message----- > From: Damphyr [mailto:damphyr / freemail.gr] > Sent: Wednesday, November 23, 2005 9:01 AM > To: ruby-talk ML > Subject: getting stdout and stderr for system calls on windows > > > OK, I'm stuck with a pretty problem: > I need to drive a build process using make (dmake) from my > scripts and I > want to capture stdout and stderr as well as the return value > from dmake. Normally I would do it using Daniel Berger's > win32-popen3, but I have a > Windows Installer Ruby with VC++6.0 which nastily gives me a segfault > (properly documented in the README, but still a segfault :) > ). Recompiling Ruby is a no-no and changing VC compiler also a no-no. If anyone knows of a magic compatibility switch to cl or link that will prevent this, I'm all ears. :) Dan