$ScriptInputString

$ScriptInputString

represents input given on the standard input channel to the original operating system command with which the current instantiation of the Wolfram Language was invoked.

Details

Examples

Basic Examples  (1)

$ScriptInputString is set to None in an interactive session:

Find the wolframscript executable:

Set up appropriate arguments for the operating system:

$ScriptInputString is set to an empty string in this case, as standard input is empty:

Introduced in 2016
 (11.0)