in reply to Perl daemon that runs another daemon
Oy, where to start . . .
qx// runs the command you specify synchronously, capturing the output. Presumably /etc/init.d/asterisk will fork off some other daemon and then exit. Since there's nothing else likely to be keeping the POE session alive after the start state routines it'll exit, and . . .
Know what? Forget that code. My brane is throbbing just from attempting to divine its intent. Start from scratch and describe what you're attempting to do. Don't presume any mechanism or particular modules for implementations. Step back and outline what the frell you're attempting to do. Then someone might be able to help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl daemon that runs another daemon
by guilherme.e.j (Initiate) on Nov 01, 2006 at 21:13 UTC |