Hello, I am trying to shutdown and reboot my LINUX devices from a python script that runs in a docker container, this code I was using pre-dockerizing the script is not working anymore, how can I solve this?
os.system("shutdown now") os.system("reboot now")