shell.run
Runs a command in the computer's or turtle's shell.
|
|||
Opens the lua interface | |||
Code | <nowiki>shell.run("lua")</nowiki>
|
||
Output | (Lua program is now running.)
|
shell.run Function | |
---|---|
Syntax shell.run(
| |
Returns | boolean success |
API | shell |
Source | CC:Tweaked |
,
|
|||
Lists all files/directories in /rom | |||
Code | <nowiki>shell.run("list", "/rom")</nowiki>
|
||
Output | All files/directories in /rom
|
Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lua |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CC:Tweaked |
|
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.