Ticket #265 (closed defect: fixed)

Opened 5 months ago

Last modified 5 months ago

phing.bat script does not work when the path has spaces

Reported by: gianni.moschini@gmail.com Assigned to: hans
Priority: major Milestone:
Component: phing-core Version: 2.3.0
Keywords: Cc:

Description

adding quotes (") to the script (line 36) from : %PHP_COMMAND% -d html_errors=off -qC %PHING_HOME%\bin\phing.php %1 %2 %3 %4 %5 %6 %7 %8 %9 to : %PHP_COMMAND% -d html_errors=off -qC "%PHING_HOME%\bin\phing.php" %1 %2 %3 %4 %5 %6 %7 %8 %9

fixes the script.

The error was: Could not open input file: C:\Program

Attachments

phing.bat.patch (202 bytes) - added by gianni.moschini@gmail.com on 08/19/08 09:57:45.
patch

Change History

08/19/08 09:57:45 changed by gianni.moschini@gmail.com

  • attachment phing.bat.patch added.

patch

08/19/08 17:56:22 changed by mrook

  • status changed from new to closed.
  • resolution set to fixed.

This bug has been fixed in the SVN tree, revision r384.

Thank you for the report, and for helping us make Phing better!


Add/Change #265 (phing.bat script does not work when the path has spaces)




Action