allow to use --nofork for debugging
redirect stdin/stdout/stderr to /dev/null

The redirection can be turned off with: --debug --nofork