Overview
| Artifact ID: | d1b0cc1c0804bc3cfe160b791fd4472a4766c966 |
|---|---|
| Ticket: | 219313ffffffffffffffffffffffffffffffffff
TclpFindExecutable doesn't work for CGI scripts under Apache |
| User & Date: | nobody on 2000-10-26 05:10:33 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 3658 Bug Version: 8.2.2 SubmitDate: '1999-11-23' LastModified: '2000-10-25' Severity: SER Status: UnAssn Submitter: techsupp OS: All Unix FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Comments: I can work around this by adding this code to the proWrapTclMain.c file in the TclPro wrapper sampleApp after the call to TclpFindExecutable. if (executableName == NULL) { executableName = argv0; } The better place to fix it is inside TclpFindExecutable. As a work-around, I plan to make new wrapper shells available on www.scriptics.com ReproducibleScript: This bug appears under applications created by TclPro wrapper, but is due to a bug in TclpFindExecutable. To repeat, try any wrapped application as a CGI app under Apache. Or, try [info nameofexecutable] in a regular CGI script - you'll get nothing. ObservedBehavior: The wrapped application cannot find itself, so it fails to find its init.tcl wrapped inside itself. If you are lucky, init.tcl is found on disk. DesiredBehavior: A wrapped CGI application to work under Apache - foundin changed to: "obsolete: 8.2.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to:
TclpFindExecutable doesn't work for CGI scripts under Apache
- type changed to: "Bug"