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


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

- 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.
Examples
Basic Examples (2)
The WSTP LinkObject currently used for input and output by the Wolfram Language kernel:
$ParentLink is an active link listed in Links:
See Also
Tech Notes
Related Guides
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), $ParentLink, Wolfram Language function, https://reference.wolfram.com/language/ref/$ParentLink.html.
CMS
Wolfram Language. 1996. "$ParentLink." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$ParentLink.html.
APA
Wolfram Language. (1996). $ParentLink. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$ParentLink.html
BibTeX
@misc{reference.wolfram_2025_$parentlink, author="Wolfram Research", title="{$ParentLink}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/$ParentLink.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_$parentlink, organization={Wolfram Research}, title={$ParentLink}, year={1996}, url={https://reference.wolfram.com/language/ref/$ParentLink.html}, note=[Accessed: 08-August-2025]}