Skip to content

ElectronWebContents.getOSProcessId method

ElectronWebContents › getOSProcessId

Unofficial

Returns the operating system pid of the associated renderer process.

Signature:

getOSProcessId(): number

Returns: numberThe operating system process id.