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

    From Eric Oulashin@VERT 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).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net