Anonymous | Login | Signup for a new account | 2012-09-13 19:32 PDT |
Main | Blog | My View | View Issues | Change Log | Roadmap | IRC Chat | Repositories | Scrum Board |
View Issue Details [ Jump to Notes ] [ Related Changesets ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
109 | Source Integration | WebSVN | public | 2010-02-25 05:46 | 2010-03-22 10:45 | |||
Reporter | Thijs Putman | |||||||
Assigned To | John Reese | |||||||
Priority | normal | Severity | minor | Reproducibility | always | |||
Status | resolved | Resolution | fixed | |||||
Product Version | 0.16 | |||||||
Target Version | 0.16 | Fixed in Version | 0.16 | |||||
Summary | 109: Unable to call svn.exe on Windows, problem with shell_exec() | |||||||
Description | I'm having a strange issue related to shell_exec() being unable to properly call svn.exe on my Windows-system. Everything is set-up properly (WebSVN on the same system works just fine), so I'm a bit unsure as to what's really happening... The problem is very simply that shell_exec() returns nothing, no errors either, when svn.exe is called. The call is correct, executing exactly the same command in the console works just fine. The SVN executable is in the PATH, so simply calling "svn.exe" should also work, but doesn't produce any results when used through shell_exec(). Other commands (e.g. "dir") produce proper output when called through shell_exec(). I've modified the svn.exe call generated by SourceSVNPlugin::svn_binary() by adding the following on line 314 of SourceSVN.php: $t_binary = "start /B /D \"$t_path\" svn.exe"; This (windows-specific) command simply wraps around the call to svn.exe. The only "out of the ordinary" thing it does is allow you to specify the target directory as a parameter instead of as part of the command itself. After this modification everything started working just fine. All SVN data is properly read into my Mantis installation. I've tried the latest version of Source Integration (2010-02-23, ff8a1696ab526147e1d7d8c1300650193c233201) in combination with the 1.2.0 release of Mantis. I am using Windows Server 2008-R2 with PHP 5.3.0 running through fcgid on Apache2. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
John Reese (administrator) 2010-03-22 10:45 |
Fix committed to master branch at 2010-03-22 17:23:38. |
![]() |
|||
Source Integration: master 6d904288
Timestamp: 2010-03-22 17:23:38 Author: John Reese Committer: John Reese [ Details ] [ Diff ] |
Fix 109: Add option to use Windows start command | ||
mod - SourceSVN/lang/strings_english.txt | [ Diff ] [ File ] | ||
mod - SourceSVN/SourceSVN.php | [ Diff ] [ File ] | ||
![]() |
|||
Date Modified | Username | Field | Change |
2010-02-25 05:46 | Thijs Putman | New Issue | |
2010-03-22 10:14 | John Reese | Assigned To | => John Reese |
2010-03-22 10:14 | John Reese | Status | new => assigned |
2010-03-22 10:14 | John Reese | Product Version | => 0.16 |
2010-03-22 10:14 | John Reese | Target Version | => 0.16 |
2010-03-22 10:45 | John Reese | Note Added: 123 | |
2010-03-22 10:45 | John Reese | Status | assigned => resolved |
2010-03-22 10:45 | John Reese | Fixed in Version | => 0.16 |
2010-03-22 10:45 | John Reese | Resolution | open => fixed |
2010-03-22 10:45 | John Reese | Changeset attached | master 6d904288 => |
Copyright © 2000 - 2012 MantisBT Group
Time: 0.1285 seconds. memory usage: 8,346 KB |