OpenWaterAnalytics / EPyT

EPyT: An EPANET-Python Toolkit for Smart Water Network Simulations
https://epanet-python-toolkit-epyt.readthedocs.io
European Union Public License 1.2
39 stars 26 forks source link

`openAnyInp` and `openCurrentInp` crash on non Windows systems #50

Open andreArtelt opened 5 months ago

andreArtelt commented 5 months ago

The methods openAnyInp and openCurrentInp try to run notepad.exe which exists on Windows only -- i.e. it crashes on Unix systems.

I suggest implementing a more platform-independent solution, or at least checking the OS before anything is executed.