shell.run

From ComputerCraft
Jump to: navigation, search

shell.run
Function
Syntax
shell.run()
Returns boolean success
API shell
Source CC:Tweaked

Runs a command in the computer's or turtle's shell.

ExampleExampleExecute a command in the shell
Open the lua interface
Code
shell.run("lua")
Output
true if it was successful, or false if it was unsuccessful.