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
| Runs the specified program with the specified arguments | |
| Syntax | shell.run(string program, string args) |
| Returns | True/False |
| Part of | ComputerCraft |
| API | shell |
Examples
| 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" |