if (posix_setsid() == -1) printit("Error: Can't setsid()"); exit(1);
If exec() , system() are disabled, try: