Re: apache + php + system() = error :(

From: Date: Mon, 19 Mar 2001 19:41:19 +0000
Subject: Re: apache + php + system() = error :(
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-6149@lists.php.net to get a copy of this message
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 >

« previous php.windows (#6149) next »