prevent console window from appearing see https://wiki.tcl-lang.org/page/console+hide diff --git ng/onetcl.cpp ng/onetcl.cpp index 4b999a6f..12fc57d3 100644 --- ng/onetcl.cpp +++ ng/onetcl.cpp @@ -1,5 +1,6 @@ #include DLL_HEADER const char * ngscript[] = {"" +,"catch {console hide }\n" ,"catch {lappend auto_path $env(NETGENDIR) }\n" ,"catch {lappend auto_path $env(NETGENDIR)/../lib }\n" ,"if {[catch {Ng_GetCommandLineParameter batchmode} result ]} {\n"