Difference between revisions of "Os.shutdown"
From ComputerCraft Wiki
Zalerinian (Talk | contribs) (Added the page) |
|||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=os.shutdown() | |name=os.shutdown() | ||
− | |||
|returns=None | |returns=None | ||
|api=os | |api=os |
Revision as of 03:14, 27 June 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.