Difference between revisions of "Os.run"

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


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