gives the ID assigned to the process which invokes the Wolfram Language kernel by the operating system under which it is run.
$ParentProcessID
gives the ID assigned to the process which invokes the Wolfram Language kernel by the operating system under which it is run.
Details
- On operating systems where no process ID is assigned, $ParentProcessID is None .
Examples
Basic Examples (1)
Tech Notes
Related Guides
History
Introduced in 1996 (3.0)
Text
Wolfram Research (1996), $ParentProcessID, Wolfram Language function, https://reference.wolfram.com/language/ref/$ParentProcessID.html.
CMS
Wolfram Language. 1996. "$ParentProcessID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$ParentProcessID.html.
APA
Wolfram Language. (1996). $ParentProcessID. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$ParentProcessID.html
BibTeX
@misc{reference.wolfram_2025_$parentprocessid, author="Wolfram Research", title="{$ParentProcessID}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/$ParentProcessID.html}", note=[Accessed: 09-January-2026]}
BibLaTeX
@online{reference.wolfram_2025_$parentprocessid, organization={Wolfram Research}, title={$ParentProcessID}, year={1996}, url={https://reference.wolfram.com/language/ref/$ParentProcessID.html}, note=[Accessed: 09-January-2026]}