Re: can you do exec under Windows OS?

From: Date: Thu, 11 Jul 2002 16:03:18 +0000
Subject: Re: can you do exec under Windows OS?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107166@lists.php.net to get a copy of this message
I might found the answer myself but correct me if I'm wrong: I was trying to pass some args (ex. echo testing) that I tried to exec but fail. But, if I put the "echo testing" inside a batch file and have the exec to call that batch file, then it works. There is also a function call escapeshellcmd to screen out any bad tricks. If there is other better ways to do thing, please share. Thanks. --Wo ----- Original Message ----- From: "Wo Chang" <wchang@nist.gov> To: <php-general@lists.php.net> Sent: Thursday, July 11, 2002 11:38 AM Subject: can you do exec under Windows OS? > Dear All, > > Sorry to ask this simple question! > > I know I can do exec under unix OS but > when I try it on Windows platform (running > Apache), PHP gives me "Warning: Unable to fork". > > Off hand I don't remember do I need to > modify the php.ini or semething else, > can someone give me a hand? > > Thanks! > > --Wo > >

« previous php.general (#107166) next »