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.
In reply to Re: Perl daemon that runs another daemon
by Fletch
in thread Perl daemon that runs another daemon
by guilherme.e.j
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |