A good example for not being a daemon process is the mongo-cli. It will run and terminate very quickly. I ran into an issue (acutally with the redis-cli tool) where the process framework tires to register shutdown hooks for the redis-cli process, but it already terminated by that time.