os.shutdown
From ComputerCraft Wiki
Revision as of 14:09, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Updated references from "os" to "OS")
| 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.