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" <[EMAIL PROTECTED]>
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.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php