Re: Loadable Modules and full/relative paths
By: Nightfox to Digital Man on Wed Mar 09 2022 09:04 am
> Re: Loadable Modules and full/relative paths
> By: Digital Man to Nightfox on Tue Mar 08 2022 07:32 pm
>
> >> For the Loadable Modules configuration in SCFG, it seems it doesn't
> >> accept full/relative paths, is that correct?
>
> DM> It's a mix. Have you looked at the online (F1) help? It clarifies which
> DM> loadable modules use full command-lines are which are just module
> DM> names.
>
> I've had a look. Does "full command-line" include a leading path, or does
> that just mean it can take command-line parameters?
Looks like a leading path (e.g. "../xtrn/whatever/mod.js") should work fine.
> >> One workaround I thought of was to create another, DDMsgReader.js
> >> which one could place in sbbs/mods, which would just build a string of
> >> arguments from argv and then call bbs.exec() to run the actual
> >> DDMsgReader. Or perhaps DDMsgReader.js could be moved into sbbs/exec,
> >> and its config files could be moved to sbbs/ctrl etc., but it seems
> >> cleaner to have all of its files together under /xtrn/DDMsgReader.
>
> DM> Yup, either of those seem like viable workarounds.
>
> I suppose that will suffice.
Cool, let me know if they don't.
--
digital man (rob)
Breaking Bad quote #35:
You ever smoke anything else, Wendy? Sausages don't count - ha ha - Hank
Norco, CA WX: 57.4øF, 40.0% humidity, 2 mph E wind, 0.00 inches rain/24hrs
--- SBBSecho 3.15-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
|