https://gitlab.synchro.net/main/sbbs/-/commit/1fc7b3b579e137acec3b7f1e
Modified Files:
docs/v322_new.md exec/tests/test.js src/sbbs3/exec.cpp
Log Message:
Search mods and exec for relative ?script paths not found from ctrl
A ?script command line (;EXEC, bbs.exec(), external program, editor and
menu command lines) with a bare script name is searched for in the
startup directory, mods and exec. A relative path containing a directory
was only opened relative to the current directory, which is the ctrl
directory, so ?tests/test.js failed even though exec/tests/test.js
exists.
Such a path is still tried relative to ctrl first, so every command line
that resolved before resolves the same way (e.g. ?../xtrn/...). Only when
it isn't found there is it searched for like a bare name: startup
directory, then mods, then exec.
The @-code test runner's usage comment now uses the short form:
;EXEC ?tests/test.js atcodes
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net