Re: Re: [PHP] Browser hangs with exec, HELP!!!!!
| From: | Chris Carbaugh | Date: | Sun, 12 Nov 2000 00:12:24 +0000 |
| Subject: | Re: Re: [PHP] Browser hangs with exec, HELP!!!!! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24819@lists.php.net to get a copy of this message | ||
You might try losing the EscapeShellCmd call. It doesn't appear you
taking user input anyway.
Chris
On Sat, 11 Nov 2000, Juan Claudio Santana Saldaña wrote:
> Date: Sat, 11 Nov 2000 13:56:48 -0600
> To: cjtech2000@yahoo.com
> From: Juan Claudio Santana Saldaña <claudio@santana.net>
> Reply-To: claudio@santana.net
> Subject: Re: [PHP] Browser hangs with exec, HELP!!!!!
>
> 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
>
>
--
"I think your slogan 'Liberty or Death' is splendid, and whichever one
you decide on will be all right with me." - Alexander Woollcott