os.reboot

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  Function os.reboot
Reboots the Computer, Turtle or Pocket Computer.
Syntax os.reboot()
Returns nil
Part of ComputerCraft
API OS

Examples

Grid paper.png  Example
Restarts the computer.
Code
os.reboot()