Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'running Mathematica notebook from command line' topicStudent Support Forum > General > "running Mathematica notebook from command line"

Next Comment >Help | Reply To Topic
Author Comment/Response
Michael Petryk
07/25/01 12:24pm

In very early versions of Mathematica it was possible to execute a
Mathematica file (called, say, myfile.m) from the command line during
startup by issuing:

math -run "<< myfile.m"

The drawback of such an approach is that the output is sent to a command
line window which has poor graphics capabilities. Is it possible to
execute a file myfile.m from the command line while sending the output
to a Mathematica notebook for visualization? If so, how would this be
done?

Sincerely,
Michael Petryk

URL: ,

Subject (listing for 'running Mathematica notebook from command line')
Author Date Posted
running Mathematica notebook from command line Michael Petryk 07/25/01 12:24pm
Re: running Mathematica notebook from command l... Forum Modera... 08/09/01 4:28pm
Next Comment >Help | Reply To Topic