Difference between revisions of "Shell.getRunningProgram"
From ComputerCraft Wiki
(Added more information) |
|||
| Line 1: | Line 1: | ||
| − | shell.getRunningProgram | + | {{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() | ||
| + | }} | ||
| + | }} | ||
Revision as of 21:20, 16 August 2012
| 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
| Returns the path of the currently running shell or program. | |
| Code |
shell.getRunningProgram() |