Created
February 19, 2022 01:18
-
-
Save therealandreww/315286393dec5e84afe8bd7bf44def7b to your computer and use it in GitHub Desktop.
Hard-Reboots your computer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
# This will reboot your computer. | |
# Save data before testing | |
os.system("shutdown -r -t 0") |
Author
therealandreww
commented
Mar 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment