Difference between revisions of "Shell.getRunningProgram"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:APIFunctions)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Someone work on this page?
+
{{lowercase}}
 +
{{Function
 +
|name=shell.getRunningProgram
 +
|returns=Path of the currently running program
 +
|api=shell
 +
|addon=ComputerCraft
 +
|desc=Returns the path of the currently running shell or program.
 +
|examples=
 +
{{Example
 +
|desc=Returns the path of the currently running shell or program.
 +
|code=shell.getRunningProgram()
 +
}}
 +
}}
 +
 
 +
[[Category:API_Functions]]

Latest revision as of 18:38, 28 November 2012


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()