Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an external program that calls Mathematica scripts upon certain events. Each script requires a large Mathematica library to load (takes a while).

Is there some way to run an initial script that loads the library, then each following script call uses the same Kernel?

share|improve this question
1  
Perhaps setup a daemon script that loads the library, then "listens" for requests for actual scripts, executes them, and pipes/stores results as needed. – ciao Apr 1 '14 at 0:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.