multishell.launch
From ComputerCraft Wiki
Function multishell.launch | |
Runs the program located at programPath, passing it all given arguments (argument1, argument2 and so on). Just like with os.run any values in the environment table will be seen by the program. This function returns the ID of this program's tab. | |
Syntax | multishell.launch(table environment, string programPath, argument1, argument2, ...) |
Returns | number the ID of the new tab |
Part of | ComputerCraft |
API | multishell |
Examples
Example | |
Runs Interactive Lua Interpreter in a new tab and sets its name to "Lua Interpreter". | |
Code |
local newTabID = multishell.launch({}, "rom/programs/lua") multishell.setTitle(newTabID, "Lua Interpreter") |