[chronojump] try/catch on encoderRProc capture active again



commit 944c85214b2a83c7af46efaccde411e9964d01bc
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon May 13 16:48:45 2019 +0200

    try/catch on encoderRProc capture active again

 src/encoderRProc.cs | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/encoderRProc.cs b/src/encoderRProc.cs
index dc0e2714..3dfc0941 100644
--- a/src/encoderRProc.cs
+++ b/src/encoderRProc.cs
@@ -176,7 +176,7 @@ public class EncoderRProcCapture : EncoderRProc
                //pinfo.RedirectStandardOutput = true; 
 
 
-//             try {
+               try {
                        p = new Process();
                        p.StartInfo = pinfo;
 
@@ -193,11 +193,10 @@ public class EncoderRProcCapture : EncoderRProc
                        LogB.Debug("D");
                        
                        LogB.Debug(string.Format("this pid id : {0}", p.Id));
-/*             } catch {
+               } catch {
                        Console.WriteLine("catched at runEncoderCaptureNoRDotNetStart");
                        return false;
                }
-               */
                        
                return true;
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]