Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Standalone Mathematica Kernels >

$Linked

$Linked
is True if the Mathematica kernel is being run through MathLink.
  • $Linked is True when Mathematica is being run with a front end.
  • $Linked is typically False when Mathematica is being run with a text-based interface.
Test whether the Mathematica kernel is being run through MathLink:
In[1]:=
Click for copyable input
Out[1]=
$CommandLine shows that the kernel was called in MathLink mode:
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
New in 2
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team