Kaya 0.5.1 reference for System::progName

List of functions and data types in System

String progName()

Usage

Returns the name of the currently running executable. This should not be used in web applications for constructing self-referential links as the name may include filesystem path information. Use webappName instead.

p = progName(); // p = "/usr/local/bin/kayadoc2man"

Related

kaya@kayalang.org | Last modified 4 September 2008 | Supported by Durham CompSoc | Powered by Kaya