Re: Browser hangs with exec, HELP!!!!!
| From: | Juan Claudio Santana Saldaña | Date: | Sat, 11 Nov 2000 19:56:48 +0000 |
| Subject: | Re: Browser hangs with exec, HELP!!!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24804@lists.php.net to get a copy of this message | ||
It works fine from the shell. I've done that change and still the same,
the script process ends up defunct...
HELP!!!!!!!!!!!!!!!!!!!!!!!!
Claudio.
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