Re: Browser hangs with exec, HELP!!!!!

From: Date: Sat, 11 Nov 2000 20:21:24 +0000
Subject: Re: Browser hangs with exec, HELP!!!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24805@lists.php.net to get a copy of this message
I've even tried to add on the top of my shell script echo $! > pid.txt and at the end kill -9 ´echo pid.txt´ exit 0 but doesn't work :( Chris Carbaugh wrote: > On Sat, 11 Nov 2000, Juan Claudio Santana Saldaña wrote: > > Date: Sat, 11 Nov 2000 13:02:16 -0600 > > To: php-general@lists.php.net > > From: Juan Claudio Santana Saldaña <claudio@santana.net> > > Reply-To: claudio@santana.net > > Subject: [PHP] Browser hangs with exec, HELP!!!!! > > > > Hello guys, > > > > I hope you can help me with this one. I have this small php > > script > > where I make this call: > > > > exec( EscapeShellCmd( "/home/dbuser/myprocess.sh & > > > /home/dbuser/logfile.log 2>&1" ) ); > > Try this: > exec( EscapeShellCmd( "/home/dbuser/myprocess.sh > > /home/dbuser/logfile.log 2>&1 &") ) > > Not sure if this would cause your process to go <defunct> or not. Does > it run fine from the shell? > > > Claudio Santana. > > Chris

« previous php.general (#24805) next »