It does, but Proc::Daemon closes a billion file handles and sets new
process IDs and forks and forks and maybe forks a couple more times for
good measure... Fingers crossed!
I do enjoy the fact that nobody really seems to have a simple definitive
vanilla fork/spawn process down pat, it seems everyone does what I do,
trying this and that stumbling about until they come up with some
monstrosity like Torsen has that works under the sheer weight of tricks.
Tosh
macke...@animalhead.com wrote:
On Feb 20, 2010, at 7:01 AM, Tosh Cooey wrote:
Anyway, the solution, at least so far until I run into other problems,
seems to be to just make a system() call and the called program uses
Proc::Daemon and things *seem* to work fine in testing, we'll see when
it hits production...
Tosh
Doesn't a process that calls 'system' wait for the child
process to complete? If the parent process is an Apache
child, is that in keeping with what you're trying to do?
cmac
--
McIntosh Cooey - Twelve Hundred Group LLC - http://www.1200group.com/