• default.js command shell: Fully path .js scripts being executed in cas

    From Eric Oulashin@1:103/705 to GitLab note in main/sbbs on Fri Jul 21 10:41:17 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/300#note_3698

    default.js uses js.exec() to run scripts, and it seems the current working directory may change, causing it to fail due to not being able to find the script. One situation when this can happen is if you have a loadable module set up for reading messages, and that loadable module could be in a different directory (such as DDMsgReader).
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Jul 21 12:45:19 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/300#note_3699

    I already committed a very similar fix, but thanks.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)