shell.path

From ComputerCraft
Jump to: navigation, search

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

Returns the Shellpath.

The Shellpath is a list of folders, where the shell are searching for programs. The directories are separated with :.

ExampleExampleGet the Shellpath
Print the Shellpath.
Code
print(shell.path())
Output .:/rom/programs:/rom/programs/advanced:/rom/programs/rednet:/rom/programs/fun:/rom/programs/fun/advanced:/rom/programs/http