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

force no popup in batch, even if client!=0

parent 4e60e974
No related branches found
No related tags found
No related merge requests found
...@@ -21,8 +21,8 @@ int main(int argc, char *argv[]) ...@@ -21,8 +21,8 @@ int main(int argc, char *argv[])
new GModel(); new GModel();
GmshInitialize(argc, argv); GmshInitialize(argc, argv);
if(!Msg::GetClient()) if(!Msg::GetClient()) CTX::instance()->terminal = 1;
CTX::instance()->terminal = CTX::instance()->noPopup = 1; CTX::instance()->noPopup = 1;
GmshBatch(); GmshBatch();
GmshFinalize(); GmshFinalize();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment