Reboot code

Hi there,

Ive been using the following code to perform a soft reboot in Matrix without issue, but in Nexus the same code wipes everything. Is there some new code to be using instead?

os._exit(1)

What do you mean with this?

What about simple

os.system('reboot')

or

os.system('systemctl reboot')

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.