Difference between revisions of "Os.run"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
m (Updated references from "os" to "OS") |
||
| Line 3: | Line 3: | ||
|name=os.run | |name=os.run | ||
|args=[[metatable]] envVars, [[string]] path, [[vararg]] arguments | |args=[[metatable]] envVars, [[string]] path, [[vararg]] arguments | ||
| − | |api= | + | |api=OS |
|returns=false on error, otherwise true | |returns=false on error, otherwise true | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
Revision as of 14:08, 30 November 2012
| No description provided. | |
| Syntax | os.run(metatable envVars, string path, vararg arguments) |
| Returns | false on error, otherwise true |
| Part of | ComputerCraft |
| API | OS |
Examples
| Runs the default shell | |
| Code |
os.run({}, "rom/programs/shell")
|
| Output | The default shell |