... system('/usr/bin/nohup /path/to/foo'); ...