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

Bug #15186 Submitted: VersionControl_SVN::run has trouble with Windows paths. 2008-11-30 00:21 UTC scottnicholls mrook Closed VersionControl_SVN (version 0.3.1) 5.2.3 Windows 0.3.2 Your email:

[2008-11-30 00:21 UTC] scottnicholls (Scott Nicholls)
Description: ------------ The path to my SVN exe is "c:\Program Files\svn\bin\svn.exe" and without quotes around the full path, the command doesn't work. I tried using the tilde "c:\Progra~1\svn\bin\svn.exe", but the escapeshellcmd removes the tilde. escapeshellcmd also removed any quotes you wrap around the command. Setting \$use_escapeshellcmd = false fixes this. Would be nice to have this as a config option.

## Comments

[2009-08-04 02:05 UTC] mrook (Michiel Rook)
-Status: Open +Status: Verified -Assigned To: +Assigned To: mrook
[2009-08-04 02:05 UTC] mrook (Michiel Rook)
-Roadmap Versions: +Roadmap Versions: 0.3.2
[2009-08-10 01:11 UTC] mrook (Michiel Rook)
-Status: Verified +Status: Closed
This bug has been fixed in CVS. 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. The use_escapeshellcmd setting is now ignored, and the full generated \$cmd is escaped to allow statements such as "C:\Program Files\SVN\bin\svn.exe" info "C:\Repo With Space". NOTE: escaping paths containing spaces *remains* the responsibility of the calling class!