perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randy Kobes <ra...@theoryx5.uwinnipeg.ca>
Subject Re: t/SMOKE on win32
Date Fri, 03 Oct 2003 22:19:02 GMT
On Fri, 3 Oct 2003, Barrie Slaymaker wrote:

> On Oct 3 2003, Randy Kobes wrote:
>
> > 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.

The above was just supposed to be a test, to see if it was
from within IPC::Run3 that the problems about not being able
to dup STDOUT arose. As Stas pointed out in another message,
it's not clear if this is originating from the server or
from the client side.

-- 
best regards,
randy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message