Subj : exec/lbshell.js xtrn_sec.js src/sbbs3/xtrn_sec.cpp To : Git commit to sbbs/master From : Rob Swindell Date : Tue Nov 03 2020 10:07 pm https://gitlab.synchro.net/sbbs/sbbs/-/commit/255ffd7abcf16aad5b561fef Modified Files: exec/lbshell.js xtrn_sec.js src/sbbs3/xtrn_sec.cpp Log Message: Move the external program "pause on exit" implementation back to the C++ code. Originally, the "pause on exit" was implemented in the C++ version of sbbs_t::xtrn_sec() and not sbbs_t::exec_xtrn(). This meant that the pause option was only implemented when the prgoram was invoked from the menu and not when invoked directly (e.g. via Baja or JS exec_xtrn function). When sbbs_t::xtrn_sec() was ported to JS, that functionality was also moved to JS. But it really should have been implemented in exec_xtrn() to begin with so that regardless of how the program is invoked, that SCFG setting takes effect. Thanks to Michael Long for pointing this out. .