Difference between revisions of "Shell.run"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
|||
Line 14: | Line 14: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Revision as of 18:38, 28 November 2012
Function shell.run | |
Runs the specified program with the specified arguments | |
Syntax | shell.run(string program, string args) |
Returns | True/False |
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" |