pid top-level property

int pid

Returns the PID of the current process.

Implementation

int get pid => process.pid;