Go to: Synopsis. Return value. MEL examples.
getpid
getpid is NOT undoable, NOT queryable, and NOT editable.
The process identifier of the process which is running Maya is returned as an integer value.int | Process Id |
$i=`getpid`; // Result: 20987 //