[chronojump] Better management of contineu process on capture



commit 2b8b9a9106c141b28362c12300eb878e1ee7765a
Author: Xavier de Blas <xaviblas gmail com>
Date:   Tue May 12 17:22:49 2015 +0200

    Better management of contineu process on capture

 encoder/capture.R |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/encoder/capture.R b/encoder/capture.R
index f12dcab..4b6ec89 100644
--- a/encoder/capture.R
+++ b/encoder/capture.R
@@ -141,7 +141,7 @@ doProcess <- function(options)
                
                #if should continue with another capture
                #then read options again
-               if(input[1] == "C") {
+               while(input[1] == "C") {
                        write("received a continue signal", stderr())
                        
                        options <- scan(optionsFile, comment.char="#", what=character(), sep="\n")


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