Re: [PHP] Creating process and do actions with signals

2007-05-24 Thread Richard Lynch
exec() will not return control to PHP to "listen" to SIGs until it is done. get testing2.php to background itself or tack " &" on to the end of the exec command or... On Wed, May 23, 2007 6:59 am, [EMAIL PROTECTED] wrote: > Hi, > > I have this script testing.php that I run on a Linux machine thru

[PHP] Creating process and do actions with signals

2007-05-23 Thread lists
Hi, I have this script testing.php that I run on a Linux machine thru the command line. In the end of the file you see two cases. One where it is just having a while(true) loop doing nothing, and the other calling an other script that is doing nothing but doesn't exit. When I send SIGTERM