Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to start and not wait for a process within another process?

Status
Not open for further replies.

dionu

Programmer
Oct 19, 2001
10
CA
I have a CGI script that I want to invoke a perl file. The problem is, I don't want the cgi script to be terminated (exec command) and I don't want the cgi script to wait for the perl process to finish.

I have been trying variations of the following:

system("nohup ./process.pl $filename &");

Any ideas???
 
Next thread on the list
thread219-552766
HTH
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top