Wolfram Language & System 11.0 (2016)|Legacy Documentation
This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
- $BatchInput is True if input is being taken from a file.
- $BatchInput can be reset during a Wolfram System session.
- When $BatchInput is True, the Wolfram System terminates if it ever receives an interrupt, does not discard input when blank lines are given, and terminates when it receives end‐of‐file.
Put commands in a file, in this case to evaluate $BatchInput:
The output file contains the value of $BatchInput:
Introduced in 1991