Subject: | Feature Request: exec option |
Would be nice if there was an option to have daemonize use POSIX::_exit() instead of regular exit for its double-fork logic. This would prevent END blocks from firing on the extra fork. This is particularly useful if you are starting a daemon that will call exec. exec() bypasses END blocks, and sometimes you really want that. The double fork eliminates this benefit as it is currently implemented.