Go to: Return value. Examples.

Synopsis

getpid

The process identifier of the process which is running Maya is returned as an integer value.

Return value

int

Examples

 
	$i=`getpid`;
	// Result: 20987 //