Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

(tye)Re: SIGINT help

by tye (Sage)
on Nov 18, 2000 at 01:35 UTC ( [id://42285]=note: print w/replies, xml ) Need Help??


in reply to SIGINT help

You can do the old-style:

$SIG{INT}= sub { ... };
but that is going to be unreliable under Win32.

It is a pre-forking server,

Um, Win32 doesn't support fork(). Perl 5.6.0 has "fork() emulation" which is pretty buggy still. I think your cookbook recipe is going to require some major reworking.

If I was doing this, I'd replace all of the uses of fork() with appropriate system() calls (or perhaps Win32::Process stuff to keep everything in the same console window) and I'd drop the $SIG{INT} stuff altogether.

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://42285]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-04-24 22:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found