Files
JIMRI/jython/RestartOS.py
T
2026-06-17 14:00:51 +02:00

7 lines
264 B
Python

# Shuts down JMRI cleanly, then tells the OS to restart itself.
# Does not restart JMRI after the OS restarts, that's up to OS scripting
# Typically run from a Logix or button
# See also jython/Restart.py for a script that just restarts JMRI
shutdown.restartOS()