Shell API

From ComputerCraft
Jump to: navigation, search

Shell.aliases Shell.clearAlias Shell.complete Shell.completeProgram Shell.dir Shell.exit Shell.getCompletionInfo Shell.getRunningProgram Shell.openTab Shell.path Shell.programs Shell.resolve Shell.resolveProgram
Runs a command in the computer's or turtle's shell.
Returns boolean success
Part of CC:Tweaked
API shell
ExampleExampleExecute a command in the shell
Open the lua interface
true if it was successful, or false if it was unsuccessful.

Shell.setAlias Shell.setCompletionFunction Shell.setDir Shell.setPath Shell.switchTab