Re: executing a notebook from the command line
- To: mathgroup at smc.vnet.net
- Subject: [mg36543] Re: executing a notebook from the command line
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 11 Sep 2002 13:27:22 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <alkha8$v2$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, what may be in the *.m files? Mathematica commands ? that you can load into the kernel ? Makr all your input cells in the notebook as initialization, save it as an *.m file, add a Quit[] as the last command to the *.m file and run it with math << yourJustGeneratedMFile Regards Jens Regardds Sidney Cadot wrote: > > Hi everybody, > > Probably a rather simple question: what is the easiest way to open a > notebook, execute it, then quit, from the command line? I would like to be > able to do this from a Makefile. > > Best regards, > > Sidney