Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31498 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67178 invoked by uid 1010); 9 Aug 2007 14:07:49 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67154 invoked from network); 9 Aug 2007 14:07:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2007 14:07:48 -0000 Authentication-Results: pb1.pair.com header.from=nlopess@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=nlopess@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.55.154.24 as permitted sender) X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.24 relay4.ptmail.sapo.pt Linux 2.4/2.6 Received: from [212.55.154.24] ([212.55.154.24:54257] helo=sapo.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/61-57143-FAF1BB64 for ; Thu, 09 Aug 2007 10:07:45 -0400 Received: (qmail 30351 invoked from network); 9 Aug 2007 14:07:38 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.210) by relay4 with SMTP; 9 Aug 2007 14:07:38 -0000 Received: (qmail 27167 invoked from network); 9 Aug 2007 14:07:38 -0000 X-AntiVirus: PTMail-AV 0.3-0.91.1 X-Virus-Status: Clean (0.00777 seconds) Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[82.155.76.36]) (envelope-sender ) by mta15 (qmail-ldap-1.03) with SMTP for ; 9 Aug 2007 14:07:38 -0000 Message-ID: <00bf01c7da8e$a44a9170$0100a8c0@pc07653> To: Cc: "PHPdev" References: <10845a340708090043s35e21c9bm5b2355977bf5c1e0@mail.gmail.com> Date: Thu, 9 Aug 2007 15:07:36 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Subject: Re: [PHP-DEV] Getting Windows exec to work better. From: nlopess@php.net ("Nuno Lopes") 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" To: "PHP Developers Mailing List" 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.