• src/sbbs3/js_internal.c

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Thu Apr 24 12:39:23 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/9c17fffd088ca6e57825c94b
    Modified Files:
    src/sbbs3/js_internal.c
    Log Message:
    js.exec() will now execute scripts from the configured mods and exec dirs

    ... if not passed a full path and the script file doesn't exist in the startup_dir (if specified) or the same directory the calling script was executed from (js.exec_dir).

    This should fix the reported issue when trying to use the "spy" command from
    a cmdshell script run from the mods dir:

    !JavaScript /sbbs/exec/str_cmds.js line 388: Error: Script file (mqtt_spy.js) does not exist
    --- SBBSecho 3.24-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)