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)

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

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)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]=
Introduced in 2016
(11.0)