MathGroup Archive 1998

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

Search the Archive

Re: $BatchOutput

  • To: mathgroup at smc.vnet.net
  • Subject: [mg13444] Re: $BatchOutput
  • From: "P.J. Hinton" <paulh>
  • Date: Fri, 24 Jul 1998 01:45:33 -0400
  • Organization: Wolfram Research, Inc.
  • References: <6p6s4s$5n2@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 23 Jul 1998, Tobias Oed wrote:

> 	I'd like to know how I can get mathematica ( 3.0 for HP-UX PA-RISC ) 
> in a state where $BatchOutput is True. Or is this only the case when 
> mathematica is called to function in MathLink mode ? thanks Tobias

If you invoke the Mathematica kernel with the command line flag
"-batchoutput", this will set the session variable $BatchOutput to
True.

Here is the contents of an input file for a batch operation:

AppendTo[$Echo, "stdout"]
$BatchOutput

Here is the command line invocation of the kernel:

math -batchoutput < infile > outfile

Here is the contents of outfile after execution:

" Cannot initialize Motif graphics "

{"stdout"}
$BatchOutput
True

--
P.J. Hinton
Mathematica Programming Group           paulh at wolfram.com Wolfram
Research, Inc.                  http://www.wolfram.com/~paulh/



  • Prev by Date: Re: Is this a bug?
  • Next by Date: installing new packages in mathematica
  • Previous by thread: $BatchOutput
  • Next by thread: EPS save