Re: apache + php + system() = error :(
| From: | J�rgen Lasn | Date: | Tue, 20 Mar 2001 11:04:31 +0000 |
| Subject: | Re: apache + php + system() = error :( | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6164@lists.php.net to get a copy of this message | ||
well... i understood your comment and it is clear that windows systems don't
use forking, but under w32 processes can have child's (children ? :) but i
can't understand why are functions that need forking (???) enabled? ...
but after all this -forking- is not the issue here ... the real problem is
that I MUST USE external executable's and i can't see a way to do that ...
must i really take a shot, using PERL ?
camooon ...
Jürgen.
""Joe Brown"" <joebrown@somewhere.com> wrote in message
news:995n6l$kp2$1@toye.p.sourceforge.net...
> Forking is a unix thing... What happens when a process comes to a fork in
> the road, it splits and continues in two directions.
>
> You can't execute a batch file, you need the command intrepreter to handle
> that one, so the previous suggestion should be accurate. If you're on NT
or
> 2000, maybe cmd.exe would be more apropriate.
>
> If you don't like this comment, go to the kitchen, open the silverware
> drawer, grab a fork and and see how far along you get with it on your
> keyboard.
>
> <jyrgen [@] phon.ioc.ee@toye.php.net ("Jürgen Lasn")> wrote in message
> news:98qdfq$2t9$1@toye.p.sourceforge.net...
> > Hi!
> >
> > No the error is not generated while exec'ing external program but while
it
> > attemts to call the system() command ... it's like the system() and
exec()
> > are malfuncioning ... using backticks (`) made the script to hang ....
> there
> > is something very fundamental that i do wrong but ... where? what?
> >
> > whoknows? :)
> >
> > Jürgen.
> >
> > "Fernando Madruga" <FMadruga@ascoimbra.pt> wrote in message
> > news:3685A91F554BD411BA310008C759B6CC02527C23@MAIL_CBR...
> > You could try replacing "batch.bat" with "c:\windows\command.com /c
> > batch.bat" for windows 9x or "C:\winnt\cmd.exe /c batch.bat" or
something
> > like that.
> >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>