mirror of
https://github.com/electron/electron.git
synced 2026-02-09 14:45:29 -05:00
4 lines
84 B
JavaScript
4 lines
84 B
JavaScript
const { ipcRenderer } = require('electron');
|
|
|
|
ipcRenderer.send('pid', process.pid);
|