shell.getRunningProgram

From ComputerCraft
Jump to navigation Jump to search

shell.getRunningProgram
Function
Syntax
shell.getRunningProgram()
Returns string path
API shell
Source CC:Tweaked

Returns the running program executed by shell.run.

ExampleExampleGet the path of a running program.
Returns the running program.
Code
shell.getRunningProgram()
Output
Running program.