Re: Browser hangs with exec, HELP!!!!!
| From: | Chris Carbaugh | Date: | Sat, 11 Nov 2000 19:30:53 +0000 |
| Subject: | Re: Browser hangs with exec, HELP!!!!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24803@lists.php.net to get a copy of this message | ||
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