Timeline for How to specify $Path items on the command line?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 27, 2016 at 9:58 | vote | accept | kjo | ||
| Dec 15, 2016 at 22:10 | comment | added | kjo | @AlbertRetey: Thanks for the pointer. After experimenting a bit with MATHEMATICA_BASE and MATHEMATICA_USERBASE, however, I concluded that Mathematica interprets them sufficiently differently from what I have in mind that decided to go with a different solution. (I've posted this solution as an answer, below.) | |
| Dec 15, 2016 at 20:12 | answer | added | kjo | timeline score: 0 | |
| Dec 15, 2016 at 19:10 | comment | added | Albert Retey | There are two environment variables that can be used for this, MATHEMATICA_BASE and MATHEMATICA_USERBASE. With them I think you should be able to achieve what you want, although they are not exactly the same thing as PYTHONPATH. Both are documented here | |
| Dec 15, 2016 at 17:23 | comment | added | ilian | How about mathkernel -run '$Path=...' ? | |
| Dec 15, 2016 at 16:57 | history | asked | kjo | CC BY-SA 3.0 |