On Sat, May 31, 2003 at 04:26:33PM +0200, Laurent Perez wrote:
> Thanks both for your answers and details :)
> 
> However I have another problem : my script now starts with :
> 
> use POE qw(Wheel::Run Filter::Reference);
> use POE::Component::IRC;
> use Tk;
> use Tk::DialogBox;
> 
> But now when I run it I get :
> 
> C:\linux>perl tkirc.pl
> MSWin32 does not fully support fork+exec
> BEGIN failed--compilation aborted at C:/Perl/site/lib/POE/Wheel/Run.pm line 
> 63.
> Compilation failed in require at (eval 68) line 1.
> BEGIN failed--compilation aborted at (eval 68) line 1.
> could not import qw(Wheel::Run) at tkirc.pl line 17
> BEGIN failed--compilation aborted at tkirc.pl line 17.
> 
> If I remember correctly, that error wasn't showing up with POE < 0.26 
> versions.
> Am I missing something important ?

Yes, you are missing an operating system that supports fork/exec
properly.

I've personally spent weeks trying to make Wheel::Run work with
ActivePerl.  I, along with others, have come to the conclusion that
fork/exec is broken in ActivePerl, at least in the Windows 95/98/Mil.Ed.
releases.

Windows NT, at least from 4.0 and beyond, should be ok, but I haven't
had the time to test and debug it.  This becomes a maintenance tar-baby
because we'll need to track and work around differences in the various
Windows releases.

One option is to gut POE::Wheel::Run and replace its innards with
IPC::Run.  That still leaves a lot of functionality behind.  See the
"Win32 LIMITATIONS" section of perldoc IPC::Run for a very thorough
explanation.

-- Rocco Caputo - [EMAIL PROTECTED] - http://poe.perl.org/

Reply via email to