electron/spec/fixtures/api/utility-process/suid.js

3 lines
110 B
JavaScript

const result = require('node:child_process').execSync('sudo --help');
process.parentPort.postMessage(result);