in reply to SIG{ALRM} to help kill external program
For the simple case, you can follow roboticus's suggestion to use fork.(Update: See cdarke's comment below) You might also consider threads (core) or POE for more complicated queuing behaviors. If you are feeling adventurous, you can combine a piped open with select or $SIG{ALRM} - see Using open() for IPC some some basics.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: SIG{ALRM} to help kill external program
by locked0wn (Acolyte) on Oct 19, 2010 at 18:00 UTC |