fork/exec string command for self-daemonizing process, but wait for process to exit