in reply to How to run a process in background?

You have to fork before you exec. See Watching long running CGI scripts for details.
  • Comment on Re: How to run a process in background?