Difference between revisions of "Os.run"
From ComputerCraft Wiki
m (moved Os.run( environment, programpath, arguments ) to Os.run: Like Bit any other APIs) |
m (Moved to CAT:LuaCoreFunctions) |
||
| Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:Lua_Core_Functions]] | ||
Revision as of 18:49, 28 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 |