shell.getRunningProgram

Returns the running program executed by shell.run.

ExampleGet the path of a running program.
Returns the running program.
Code
<nowiki>
shell.getRunningProgram()
    </nowiki>
Output
Running program.

shell.getRunningProgram
Function
Syntax
shell.getRunningProgram()
Returns string path
API shell
Source 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.