Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Systems Interfaces & Deployment > Standalone Mathematica Kernels > $BatchOutput >
Mathematica > Core Language > Package Development > Standalone Mathematica Kernels > $BatchOutput >
Mathematica > Systems Interfaces & Deployment > Mathematica Sessions > Session Customization > Standalone Mathematica Kernels > $BatchOutput >

$BatchOutput

$BatchOutput
is True if output in the current session is being sent in batch mode, suitable for reading by other programs.
  • The initial value of $BatchOutput is typically determined by a command-line option when the Mathematica session is started.
In an interactive session, $BatchOutput is False:
Run a standalone kernel:
Show the contents of the file. This will have the value of $BatchOutput:
Delete the file:
In an interactive session, $BatchOutput is False:
In[1]:=
Click for copyable input
Out[1]=
 
Run a standalone kernel:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Show the contents of the file. This will have the value of $BatchOutput:
Delete the file:
In[4]:=
Click for copyable input
New in 2
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF