ID: 8214 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: *nix - CGI -PHP Version: 4.0 Latest CVS (12/12/2000) +PHP Version: 4.0 Latest CVS ( New Comment:
pcntl does this. Previous Comments: ------------------------------------------------------------------------ [2002-01-06 12:38:00] [EMAIL PROTECTED] doesen't pcnt do the job? ------------------------------------------------------------------------ [2000-12-12 16:49:52] [EMAIL PROTECTED] I would rather see: posix_register_sig_func(char function, mixed signal) And handle both "9" and "KILL" as valid signals. ------------------------------------------------------------------------ [2000-12-12 16:35:41] [EMAIL PROTECTED] A few additions to the posix module to allow registering functions when certain signals are recieved would be cool. somthing like posix_register_sig_func(char function,int signal); where signal is HUP etc :) would allow some long running systems in CGI mode with a graceous shutdown. James ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=8214&edit=1