shell.getRunningProgram

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  Function shell.getRunningProgram
Returns the path of the currently running shell or program.
Syntax shell.getRunningProgram()
Returns Path of the currently running program
Part of ComputerCraft
API shell

Examples

Grid paper.png  Example
Returns the path of the currently running shell or program.
Code
shell.getRunningProgram()