shell.getRunningProgram

From ComputerCraft
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

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.