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 contextRather than introduce yet-another-external-program/config flag to enablethe "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 forJavaScript 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 thatprogram/command in SCFG. There may be performance penalties when runningJS mods in this way, but you get the benefit of isolating one JS modulefrom all others, if/when necessary.
--- SBBSecho 3.11-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)