Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.3.2

Bug #14276 path not quoted in php-shell.bat
Submitted: 2008-07-02 12:35 UTC
From: tgr Assigned: tgr
Status: Closed Package: PHP_Shell (version 0.3.0)
PHP Version: 5.2.4 OS: Windows
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 34 - 14 = ?

 
 [2008-07-02 12:35 UTC] tgr (Tisza Gergő)
Description: ------------ The pear installer under Windows creates a php-shell.bat file in the php directory whith a line like C:\Program Files\php\.\php.exe -q C:\Program Files\php\pear/php-shell-cmd.php The Windows interpreter will try to run "C:/Program". Both the command name and the parameter should be quoted for correct results: "C:\Program Files\php\.\php.exe" -q "C:\Program Files\php\pear/php-shell-cmd.php" (The dot in the command name and the normal slash in the argument look weird but cause no problems.)

Comments

 [2010-08-14 22:49 UTC] jespino (Jesús Espino)
-Status: Open +Status: Closed -Assigned To: +Assigned To: tgr
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Applied the solution proposed by Tisza Gergö