Tag Info

Hot answers tagged


ReadList seems to work as you intended when used instead of Get in your code: ClearAll["file1`*", "file2`*"] Begin["file1`"] ReadList["file1.txt", "Expression"] End[] Begin["file2`"] ReadList["file2.txt", "Expression"] End[] On my system, I obtain: ?file1`* Alternatively you can of course check the values themselves: a (* Out: a *) ...


To summarize the comments by me and Szabolcs into an answer, these will be running in different instances (separate processes) of the same kernel executable. There is a related note in the documentation of the WolframScript interpreter, Each of the Wolfram Language scripts running concurrently starts its own kernel, with no shared variables or ...

Only top voted, non community-wiki answers of a minimum length are eligible