I am running a Mathematica code inside a shell script, using math -script <filename>.m. But after the script finish its run, I get a duplicate (or backup?) file <filename>.mn . Why is such a file being generated? Is there a way to prevent that?
Asked
Active
Viewed 72 times
4
george2079
- 38,913
- 1
- 43
- 110
hbaromega
- 183
- 1
- 7
-
I cant reproduce. You should provide system details, and check that this happens with a very simple script that you can post. – george2079 Jun 15 '17 at 13:56
1 Answers
1
I think it may be related to the Global option for AutoGeneratedPackage.
From interactive Mathematica go to
Format -> Options Inspector
Use the pulldown to set Show option values to Global Preferences
Select
Notebook Options -> File Options -> AutoGeneratePackage -> None
Jack LaVigne
- 14,462
- 2
- 25
- 37
-
seems it does not work for me! :( Also could be any terminal option since I'm using it remotely? – hbaromega Jun 27 '17 at 11:06