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

perl cgi problem


I use a perl cgi script to start a daemon via http-request:

	system("daemon &");
	print "<html> ... </html>";

starting of the daemon works, but the http-request is never answered 
completley (That means, the browser is waiting for more data forever...).

The cgi process is not finished, a 'ps -aecf' shows

www-data 12011 12010 -    30 01:14 ?        00:00:00 [ttt.pl] <defunct>

Hmm, <defunct>, what does that mean? How to start the daemon the right way?

Best regards

Reply to: