Re: Getting Windows exec to work better.

From: Date: Thu, 09 Aug 2007 14:07:36 +0000
Subject: Re: Getting Windows exec to work better.
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-31498@lists.php.net to get a copy of this message
Things are not that simple. I would advise you to read a more than one year thread about the very same subject: http://marc.info/?l=php-dev&m=113919491216978 Nuno ----- Original Message ----- From: "Richard Quadling" <rquadling@googlemail.com> To: "PHP Developers Mailing List" <internals@lists.php.net> Sent: Thursday, August 09, 2007 8:43 AM Subject: [PHP-DEV] Getting Windows exec to work better.
Hi. http://bugs.php.net/bug.php?id=25361 I supplied a patch to fix this bug. The issue is NOT a PHP bug, but a "that's how it is on windows" issue. On *nix, if you want to exec a program via PHP whose program name or parameters contain spaces, do you need to use a pair of double quotes around the name/parameter? If so, are there any issues if you have many sets of double quotes? If not, then this is a difference between *nix and windows for the operation of PHP. With the patch it should deal with this, allowing PHP userland code to operate in the same way on both platforms. If someone could take a look, I'd be grateful. Richard.


« previous php.internals (#31498) next »