The IDL_GETPID function returns the PID (process ID) of IDL or IDL's parent process.

Example


pid = IDL_GETPID()
PRINT, 'My process ID is: ', pid

Syntax


Result = IDL_GETPID( [ /PARENT])

Return Value


Returns the PID (process ID) of IDL or IDL's parent process.

Arguments


None

Keywords


PARENT

Set this keyword to return the PID of IDL’s parent process.

Version History


9.3

Introduced