]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/factor.cpp
fixed stupid signal handler bug
[factor.git] / vm / factor.cpp
index 026453eae344a89b42f7139558dfb9846b3d00f7..741800f8d18438c86c940761dc8921f1b5f17fd9 100755 (executable)
@@ -52,7 +52,11 @@ void factorvm::default_parameters(vm_parameters *p)
 #ifdef WINDOWS
        p->console = false;
 #else
-       p->console = true;
+       if (this == vm)
+               p->console = true;
+       else            
+               p->console = false;
+       
 #endif
 
        p->stack_traces = true;