$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:

In[1]:=
Click for copyable input
Out[1]=

Find the wolframscript executable:

In[2]:=
Click for copyable input

Set up appropriate arguments for the operating system:

In[3]:=
Click for copyable input

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

In[4]:=
Click for copyable input
Out[4]=

See Also

$CommandLine  $ScriptCommandLine  ReadString

Introduced in 2016
(11.0)