[chronojump] Finally all encoder stuff works on Linux, Windows
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Finally all encoder stuff works on Linux, Windows
- Date: Fri, 1 Feb 2013 00:46:13 +0000 (UTC)
commit 325398a04f6e7ac2a65c42cb3723df32a1a89687
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Feb 1 01:45:30 2013 +0100
Finally all encoder stuff works on Linux, Windows
src/util.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/util.cs b/src/util.cs
index ad1cf50..b9d334e 100644
--- a/src/util.cs
+++ b/src/util.cs
@@ -1130,10 +1130,11 @@ public class Util
pBin="Rscript";
//pBin="R";
if (IsWindows()) {
- pBin=System.IO.Path.Combine(GetPrefixDir(), "bin" + Path.DirectorySeparatorChar + "R.exe");
+ pBin=System.IO.Path.Combine(GetPrefixDir(), "bin" + Path.DirectorySeparatorChar + "Rscript.exe");
//On win32 R understands backlash as an escape character and
//a file path uses Unix-like path separator '/'
+ es.InputData = es.InputData.Replace("\\","/");
es.OutputGraph = es.OutputGraph.Replace("\\","/");
es.OutputData1 = es.OutputData1.Replace("\\","/");
es.OutputData2 = es.OutputData2.Replace("\\","/");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]