Skip to content
Snippets Groups Projects
Commit ff65e90b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 12d1a65a
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,7 @@ int main(int argc, char *argv[])
new GModel();
GmshInitialize(argc, argv);
// force these even if the options say it ain't so
CTX.nopopup = 1;
CTX.terminal = 1;
CTX.terminal = CTX.nopopup = 1;
GmshBatch();
GmshFinalize();
......
......@@ -40,11 +40,9 @@ int main(int argc, char *argv[])
// Initialize static stuff (parser symbols, options)
GmshInitialize(argc, argv);
// Always print info on terminal for non-interactive execution
if(CTX.batch) CTX.terminal = 1;
// Non-interactive Gmsh
if(CTX.batch) {
CTX.terminal = 1;
GmshBatch();
GmshFinalize();
Msg::Exit(0);
......@@ -106,7 +104,7 @@ int main(int argc, char *argv[])
break;
}
// Read background mesh on disk
// Read background mesh if any
if(!CTX.bgm_filename.empty()) {
MergeFile(CTX.bgm_filename);
if(PView::list.size())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment