[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cgi



aurel.ric@free.fr wrote:

I'm working on CGI, one of my script (python or perl) launch a command (using
sudo). I would like this command to keep running when the cgi stops.

I tried system(), exec() and even fork() in perl and python but nothing.

you can run the command with an ampersand at the end so it runs on background, or use nohup

man nohup

regards,

Juan



Reply to: