Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: RE: Coloured lines in graphics but black in print
  • Next by Date: Re: A symbol for Floor
  • Previous by thread: executing a notebook from the command line
  • Next by thread: Re: executing a notebook from the command line