[lazarus] OT: CGI for apache with free pascal

Michael Van Canneyt michael.vancanneyt at wisa.be
Wed May 26 11:20:49 EDT 1999




On Wed, 26 May 1999, Baeseman, Cliff wrote:

> alright that is what I  like to here I will change that this evening. I
> wrote some real ugly code to do it last night.
> 
> BTW is there some routine to give me the path to the currently running
> application?

!! NO WAY under linux !!
(lest processing the /proc directory tree)

paramstr(0) will ONLY give the ACTUAL command-line command:
  lazaruside file.pp
will return lazaruside, EVEN if /usr/X11/bin/lazaruside was executed.


Michael.






More information about the Lazarus mailing list