On Fri, 3 Oct 2003, Steve Hay wrote:
> I still worry that I've got something terribly wrong, > though. Surely it should at least start running some > tests? I was expecting it to either work, or else fail as > before with the "Failed to dup STDOUT" error on certain > (not-so-)random tests. > > Does my patch work on Linux? If not then I have got it > all wrong, and we're not still staring at a Win32 problem.
Actually, the patch did also make linux hang ... Here's one which does work on linux - the intent here is to dup/redirect STDOUT/STDERR before calling run3 $command, so that run3 inherits the parent's STDOUT/STDERR/STDIN.
Unless I'm missing something, you should use system() then.
- Barrie
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]