Difference between revisions of "Os.shutdown"
From ComputerCraft Wiki
| Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
{{Function | {{Function | ||
| − | |name=os.shutdown | + | |name=os.shutdown |
|returns=None | |returns=None | ||
|api=os | |api=os | ||
Revision as of 03:15, 27 June 2012
| Shuts down the computer | |
| Syntax | os.shutdown() |
| Returns | None |
| Part of | ComputerCraft |
| API | os |
Examples
| shut Down | |
| Code |
os.shutdown() |
Alternatively you could hold ctrl + S for one second to shutdown the computer outside of a program.