os.restart | R Documentation |
This restarts Windows after set amount of time.
os.restart(s = 0, m = 0, h = 0)
s |
time to wait before shutting down (in seconds), added to m and h; passed to |
m |
time to wait before shutting down (in minutes), added to s and h; passed to |
h |
time to wait before shutting down (in hours), added to s and m; passed to |
The status code of shell
.
Tal Galili
https://superuser.com/questions/42124/how-can-i-put-the-computer-to-sleep-from-command-prompt-run-menu , https://www.howtogeek.com/howto/windows-vista/quick-tip-create-shutdown-restart-lock-icons-in-windows-vista/
system
,shell
, Sys.sleep
,
is.windows
, os.shutdown
, os.sleep
, os.hibernate
, os.lock
, os.restart
## Not run: os.restart() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.