shell.run

From ComputerCraft Wiki
Revision as of 02:30, 24 September 2012 by Thesbros (Talk | contribs) (Updated to use standard Function template)

Jump to: navigation, search


Grid Redstone.png  Function term.write
Runs the specified program with the specified arguments
Syntax term.write((string) program, (string) args)
Returns nil
Part of ComputerCraft
API shell

Examples

Grid paper.png  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"