Difference between revisions of "Os.run"

From ComputerCraft Wiki
Jump to: navigation, search
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


Grid Redstone.png  Function os.run
No description provided.
Syntax os.run(metatable envVars, string path, vararg arguments)
Returns false on error, otherwise true
Part of ComputerCraft
API os

Examples

Grid paper.png  Example
Runs the default shell
Code
os.run({}, "rom/programs/shell")
Output The default shell