First Working Directory

does this correctly daemonize the process?