Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

BinGOs (7246)

BinGOs
  (email not shown publicly)
http://gumbynet.org.uk/

System administrator, part-time Perl hacker, full-time POE [perl.org] evangelist. One day he will be made to pay for his crimes.

He has some modules on CPAN [cpan.org]. They may or may not be useful

Journal of BinGOs (7246)

Saturday February 03, 2007
11:48 AM

MSWin32 and POE::Wheel::Run

[ #32314 ]

Great as POE::Wheel::Run is, there was one niggle that was bothering me, being able to run another instance of the perl executable using it on MSWin32.

I thought I'd solved the problem using Win32::Process, but unexpected terminations of the spawning POE process would leave rogue processes. Suck.

So, I'm calling on the POE community via the mailing list and here at use.perl.org if there is a solution to this problem.

The hacked POE::Wheel::Run that I came up with is here. Feel free to email me at chris@bingosnet.co.uk if you have an answer.

/me stratches his head

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • You might try Win32::Job [cpan.org] and see if that works better than Win32::Process.
    • Damn, I'd forgotten all about Win32::Job.

      Ah =(

      Win32::Job requires Windows 2000 or later. Windows 95, 98, NT, and Me are not supported.

      Maybe not suitable for POE::Wheel::Run, but it has got me thinking about making another POE::Component, so thanks.