TUFLOW crashing: Difference between revisions
Content deleted Content added
Line 14:
=How to keep simulation console window open=
* To ensure the console window remains open, add pause at the end of the batch file and remove any Start "TUFLOW", -b, or -t switches. If the console window still closes, use a simplified batch file like the example below.
**The simulation console window is the one stating with the TUFLOW build, for example "TUFLOW Build: 2020-10-AD-iSP-w64" in the header's top left corner.▼
**The batch file console window stating "C:\WINDOWS\system32\cmd.exe" in the header's top left corner won't provide desired information. ▼
pause
▲*
[[File:TUFLOW Simulation Console with Build Info Displayed.png|frameless|600x600px]]
▲*
[[File:Batch File Console Showing CMD Header Only.png|frameless|600x600px]]
* Or, let the console window be written to a text file. This will redirect console output messages as well as the standard error stream to the “dump.txt” file, and it will likely record more error information than the usual .tlf file.
<pre>"C:\TUFLOW\Releases\2020-10-AD\TUFLOW_iSP_w64.exe" "M01_5m_001.tcf" > dump.txt</pre>
=Simulation console window flashes and disappears=
When batch file is double clicked and the simulation DOW window flashes and disappears the problem might be in the filepath of the TUFLOW executable or incorrect syntax.<br>
| |||