Hi John, thanks for the assist. I am sorry, I should have been more specific.
This is not a package loading issue. The code I posted is part of a wolfram script
startupSequence.wls
which I run on boot every time my device is powered up. My question is exactly how do I keep the kernel from quitting. I understand it quits when reaches the end of the file. In fact, I tried to include
$IgnoreEOF = True
In the script but it did not work (sort of expected it not to, really).
So, my question is:
what is the best approach to keep a live kernel running after executing a few simple commands (as in the script)? Is the solution I posted a good one (doesn't seem to me, but, hey, what do I know), or building a simple WSTP program and spinning it up at every boot is really the most reliable way to go?
I appreciate your time and assistance
Best