bug fix 14901: WScilex.exe stops immediately when launched from Java
[scilab.git] / scilab / modules / development_tools / macros / scitest.sci
index 0f41d19..824341a 100644 (file)
@@ -166,7 +166,7 @@ function myexec()
         if fileinfo(tmpfiles+"dia")<>[] then
             deletefile(tmpfiles+"dia")
         end
-        dos(""""+SCI+"\bin\scilex.exe"+""""+" -nwni -args -nouserstartup -f "+tmpfiles+"tst 1>NUL");
+        dos(""""+SCI+"\bin\scilab"+""""+" -nwni -args -nouserstartup -f "+tmpfiles+"tst 1>NUL");
     else
         if fileinfo(tmpfiles+"dia")<>[] then
             deletefile(tmpfiles+"dia")