$ParentLink

$ParentLink
is the WSTP LinkObject currently used for input and output by the Wolfram Language kernel in a particular session.

DetailsDetails

  • When the Wolfram Language kernel is started by a Wolfram System front end, $ParentLink gives the WSTP connection between the front end and the kernel.
  • You can reset $ParentLink in the middle of a Wolfram System session to connect the kernel to a different front end.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

The WSTP LinkObject currently used for input and output by the Wolfram Language kernel:

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

$ParentLink is an active link listed in Links:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1996
(3.0)