Ticket Hash: | 1d0112d75bfbffc810301c3116ab9f5b2d89f501 | ||
Title: | wapp cannot be loaded in a slave interp | ||
Status: | Fixed | Type: | Code_Defect |
Severity: | Important | Priority: | Immediate |
Subsystem: | Resolution: | Fixed | |
Last Modified: |
2019-07-31 14:24:17 5.93 years ago |
Created: |
2019-07-31 08:38:57 5.93 years ago |
Version Found In: |
User Comments: | ||||
mjanssen added on 2019-07-31 08:38:57:
(text/x-fossil-wiki)
Currently wapp cannot be loaded in a slave interp or separate thread because there ::argv0 is not set. <verbatim> interp create wapp wapp eval { source ./wapp.tcl wapp-start {} } </verbatim> Fails with: <verbatim> can't read "argv0": no such variable while executing "file normalize $argv0" (procedure "wappInt-http-readable-unsafe" line 20) invoked from within "wappInt-http-readable-unsafe sock7fd4a78a0290" invoked from within "catch [list wappInt-http-readable-unsafe $chan] msg" </verbatim> |