It looks like you may have to venture down another road.
I haven't been able to execute a batch file either.

I enjoyed the error returned by popen:
Warning: popen("cmd /c d:\wwwroot\blah.bat","r") - No error in
d:\wwwroot\test.php on line 2

<jyrgen [@] [EMAIL PROTECTED] ("Jürgen Lasn")> wrote in message
997d6d$p0p$[EMAIL PROTECTED]">news:997d6d$p0p$[EMAIL PROTECTED]...
>
> 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"" <[EMAIL PROTECTED]> wrote in message
> 995n6l$kp2$[EMAIL PROTECTED]">news:995n6l$kp2$[EMAIL PROTECTED]...
> > 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 [@] [EMAIL PROTECTED] ("Jürgen Lasn")> wrote in message
> > 98qdfq$2t9$[EMAIL PROTECTED]">news:98qdfq$2t9$[EMAIL PROTECTED]...
> > > 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" <[EMAIL PROTECTED]> wrote in message
> > > 3685A91F554BD411BA310008C759B6CC02527C23@MAIL_CBR">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: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> > >
> >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to