Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31496 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67753 invoked by uid 1010); 9 Aug 2007 07:43:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67738 invoked from network); 9 Aug 2007 07:43:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Aug 2007 07:43:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=rquadling@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rquadling@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 209.85.198.190 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: rquadling@googlemail.com X-Host-Fingerprint: 209.85.198.190 rv-out-0910.google.com Received: from [209.85.198.190] ([209.85.198.190:26645] helo=rv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/10-00445-4A5CAB64 for ; Thu, 09 Aug 2007 03:43:33 -0400 Received: by rv-out-0910.google.com with SMTP id k15so359904rvb for ; Thu, 09 Aug 2007 00:43:29 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tBTKryNQNxRuj4UQewHagVbEHSlB2qKy3KcTu2LMS3p8XaWhRi+LnIDHKjYXRMY+T85m6Mcyp3Suxxm1qGC5tP9M0KeEtG7PKE9LJFrJeEB/WfrsH/XPtgRU1kfccowDIlXONgo39pm8pxrvjv1kXuAzjTEKn93BT7Nh4wYJ/bw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tbrur3Vi0AzT8HBMi11656+5aeVC19WhypeXG4pl5xLWAcUspPpcW/9U33hBP+HuPAesQ/XhUShyT9f4x5qF5tVdxR07sDgbLaij0ps+iiGJqEGzVAdkkWK8aePIzDu7mZ7cT8s3tcjSMm3VXkfdq74/oWWZdoAL0VGhSLM7jUw= Received: by 10.114.110.1 with SMTP id i1mr476775wac.1186645409407; Thu, 09 Aug 2007 00:43:29 -0700 (PDT) Received: by 10.114.205.19 with HTTP; Thu, 9 Aug 2007 00:43:29 -0700 (PDT) Message-ID: <10845a340708090043s35e21c9bm5b2355977bf5c1e0@mail.gmail.com> Date: Thu, 9 Aug 2007 08:43:29 +0100 Reply-To: RQuadling@GoogleMail.com To: "PHP Developers Mailing List" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Getting Windows exec to work better. From: rquadling@googlemail.com ("Richard Quadling") 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. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!"