[longomatch] Use full path to mono-sgen.exe in windows
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Use full path to mono-sgen.exe in windows
- Date: Thu, 4 Dec 2014 13:04:17 +0000 (UTC)
commit d9410aa7a30f7e89698638b6114cfc680be75396
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Dec 3 19:14:41 2014 +0100
Use full path to mono-sgen.exe in windows
See:
http://stackoverflow.com/questions/12392913/process-start-and-path-environment-variable
LongoMatch.Services/Services/ToolsManager.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/ToolsManager.cs b/LongoMatch.Services/Services/ToolsManager.cs
index 8845de5..c595d7d 100644
--- a/LongoMatch.Services/Services/ToolsManager.cs
+++ b/LongoMatch.Services/Services/ToolsManager.cs
@@ -204,7 +204,7 @@ namespace LongoMatch.Services
startInfo.Arguments = "\"" + migrationExe + "\"";
startInfo.WorkingDirectory = Path.GetFullPath (Path.Combine (Config.baseDirectory,
"bin"));
if (System.Environment.OSVersion.Platform == PlatformID.Win32NT) {
- startInfo.FileName = "mono-sgen.exe";
+ startInfo.FileName = Path.Combine (Config.baseDirectory, "bin",
"mono-sgen.exe");
} else {
startInfo.FileName = "mono-sgen";
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]