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