1System.progName(3kaya)       Kaya module reference      System.progName(3kaya)
2
3
4

NAME

6       System::progName - Get program name.
7

SYNOPSIS

9       String progName( )
10

DESCRIPTION

12       Returns  the  name of the currently running executable. This should not
13       be used in web applications for constructing self-referential links  as
14       the name may include filesystem path information. Use WebCommon.webapp‐
15       Name (3kaya) instead.
16
17
18    p = progName(); // p = "/usr/local/bin/kayadoc2man"
19

AUTHORS

21       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
22       (kaya@kayalang.org). For further information see http://kayalang.org/
23

LICENSE

25       The  Kaya  standard  library  is free software; you can redistribute it
26       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
27       License  (version  2.1  or  any later version) as published by the Free
28       Software Foundation.
29
31       System.getArgs (3kaya)
32       System.getEnv (3kaya)
33       System.getPID (3kaya)
34       WebCommon.webappName (3kaya)
35
36
37
38Kaya                             December 2010          System.progName(3kaya)
Impressum