shell.run
From ComputerCraft Wiki
Revision as of 01:19, 5 May 2013 by Smiley43210 (Talk | contribs) (Changed to use type template, italicized args in context)
Function shell.run | |
Runs program with optional specified arguments | |
Syntax | shell.run(string program [, string args]) |
Returns | boolean success |
Part of | ComputerCraft |
API | shell |
Examples
Example | |
Runs the program "myprogram" with arguments "test" and "ing" | |
Code |
shell.run("myprogram", "test", "ing") |
Output | The program myprogram with the arguments "test" and "ing" |