Difference between revisions of "Os.shutdown"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
m (Updated references from "os" to "OS") |
||
Line 3: | Line 3: | ||
|name=os.shutdown | |name=os.shutdown | ||
|returns=None | |returns=None | ||
− | |api= | + | |api=OS |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Shuts down the computer | |desc=Shuts down the computer |
Revision as of 14:09, 30 November 2012
Function os.shutdown | |
Shuts down the computer | |
Syntax | os.shutdown() |
Returns | None |
Part of | ComputerCraft |
API | OS |
Examples
Example | |
shut Down | |
Code |
os.shutdown() |
Alternatively you could hold ctrl + S for one second to shutdown the computer outside of a program.