[Starkit] Re: starpack as cgi

Jean-Claude Wippler jcw at equi4.com
Thu Aug 25 14:09:20 CEST 2005


(Making starkits/starpacks work when launched directly as CGI...)

On Jul 25, 2005, at 17:31, David Welton wrote:

>> It's kind of ugly, maybe there are better ways.  Perhaps looking at
>> [pwd] + argv0 to see if that is an executable file?
>
> Instead of fiddling with Tcl (which might well take years to be fixed)
> I hacked at tclkit to come up with the attached patch.  It takes a
> look at argv0 if tclExecutableName is NULL.   Seems to work for what I
> need.

Thank you.  I'm adopting your changes to kitInit.c and pwb.c - they  
will be in the upcoming 8.4.11 tclkit builds.  Not sure about 8.5x  
since the startup logic has changed slightly, but we can go into that  
later.

-jcw



More information about the Starkit mailing list