RE: [PHP] Restart process from code?
| From: | John Holmes | Date: | Wed, 17 Jul 2002 18:28:06 +0000 |
| Subject: | RE: [PHP] Restart process from code? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-108139@lists.php.net to get a copy of this message | ||
So? Use exec(). Use it twice if you have to. If you can run a command on
the command line, then you can run it through exec. Only difference is
if the user PHP is running as can run the command.
---John Holmes...
> -----Original Message-----
> From: Noah Spitzer-Williams [mailto:noah@chasen.com]
> Sent: Wednesday, July 17, 2002 2:10 PM
> To: holmes072000@charter.net; php-general@lists.php.net; php-
> windows@lists.php.net
> Subject: Re: [PHP] Restart process from code?
>
> But I would like to restart the process.... as in it's currently
running
> and
> I want to end it and then start it again...
>
>
> - Noah
>
> ----- Original Message -----
> From: "John Holmes" <holmes072000@charter.net>
> To: "'Noah Spitzer-Williams'" <noah@chasen.com>;
> <php-general@lists.php.net>; <php-windows@lists.php.net>
> Sent: Wednesday, July 17, 2002 2:18 PM
> Subject: RE: [PHP] Restart process from code?
>
>
> > You can use exec(), as long as the user PHP is running as has
permission
> > to execute the program...
> >
> > ---John Holmes...
> >
> > > -----Original Message-----
> > > From: Noah Spitzer-Williams [mailto:noah@chasen.com]
> > > Sent: Wednesday, July 17, 2002 1:20 PM
> > > To: php-general@lists.php.net; php-windows@lists.php.net
> > > Subject: [PHP] Restart process from code?
> > >
> > > Is there a way to restart a process (actually the process to
handle
> > ASP
> > > pages) from code?
> > >
> > > - Noah
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php