Python program that wraps commands to make them behave as proper daemons under Unix / Linux / Mac OS X