• src/sbbs3/exec.cpp sbbs.h src/sbbs3/scfg/scfgxtrn.c src/sbbs3/xtrn.cpp

    From Rob Swindell@VERT to Git commit to sbbs/master on Sun Aug 30 20:32:39 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/1decdc695b3cab1b5ee98c86
    Modified Files:
    src/sbbs3/exec.cpp sbbs.h src/sbbs3/scfg/scfgxtrn.c src/sbbs3/xtrn.cpp xtrn_sec.cpp
    Log Message:
    External program "use shell" option can be used to use a new JS context

    Rather than introduce yet-another-external-program/config flag to enable
    the "new JS run-time/context" per invocation of any particular JS command,
    I'm using the XTRN/EX_SH ("Use Shell") option as it had no function for JavaScript command-lines and the concept is similar.

    So if you want to invoke a JS external program/timed-event in its own "sandbox", enable the "Use Shell / New Context" option for that
    program/command in SCFG. There may be performance penalties when running
    JS mods in this way, but you get the benefit of isolating one JS module
    from all others, if/when necessary.

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