On Tue, Jul 20, 2004 at 10:44:07PM +0200, alessandro bonvicini wrote:
>  Hi all,
>  I just discovered Poe and I was really impressed by it. So I  tried the
>  example that use Poe::Component::child
>  published on http://poe.perl.org/?POE_Cookbook/Child_Component
>  after having manually  installed on my windows XP with perl
>  5.8.3.activestate the POE::Component::Child module.
>  During the nmake -f makefile install I received numerous error ,
>   about fork+exec not supported on win32.
>  THen  I forced the install an launch the script but.....
> 
>  C:\sviluppo4\test>perl -c test.pl
>  MSWin32 does not fully support fork+exec
>  BEGIN failed--compilation aborted at C:/Perl/site/lib/POE/Wheel/Run.pm line
>  64.
>  Compilation failed in require at (eval 85) line 1.
>  BEGIN failed--compilation aborted at (eval 85) line 1.
>  could not import qw(Wheel::Run) at C:/Perl/site/lib/POE/Component/Child.pm
>  line 29
>  BEGIN failed--compilation aborted at
> C:/Perl/site/lib/POE/Component/Child.pm
>  line 29.
>  Compilation failed in require at test.pl line 4.
>  BEGIN failed--compilation aborted at test.pl line 4.
>  C:\sviluppo4\test>
> 
>  Have you some ideas on this error. Is, unfortunatelly,
> POE::Component::child
>  unsupported on win32?
>  Thank a lot for your good work, anyway
>  Alex

POE::Component::Child probably does not support Win32.  That's because
POE::Wheel::Run doesn't at this time.

You might try IPC::Run.  The file handles it returns are sockets,
which means you can pass them to $kernel->select_read().  You should
read IPC::Run's documentation about Win32 limitations, however.
Windows and STDIN/STDOUT IPC don't mix very well.

-- 
Rocco Caputo - http://poe.perl.org/

Reply via email to