Mercurial > mxe-octave
comparison installer-files/octave.bat @ 3811:01182b377bb1
Don't display empty cmd window when starting GUI in Windows (partial fix for bug #41074).
* installer-files/octave.bat: Add /B switch to start command for running
octave-gui.exe. The cmd window from running octave.bat may still be shown
briefly on some platforms.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 26 Feb 2015 09:17:38 -0800 |
parents | 70480095b6ed |
children | fbc5d86517c9 |
comparison
equal
deleted
inserted
replaced
3810:7da91c8c58f9 | 3811:01182b377bb1 |
---|---|
31 goto checkargs | 31 goto checkargs |
32 :noargs | 32 :noargs |
33 | 33 |
34 Rem Start Octave (this detaches and immediately returns): | 34 Rem Start Octave (this detaches and immediately returns): |
35 if %GUI_MODE%==1 ( | 35 if %GUI_MODE%==1 ( |
36 start octave-gui.exe %* | 36 start /B octave-gui.exe %* |
37 ) else ( | 37 ) else ( |
38 start octave-cli.exe %* | 38 start octave-cli.exe %* |
39 ) | 39 ) |
40 | 40 |
41 Rem Close the batch file's cmd.exe window | 41 Rem Close the batch file's cmd.exe window |