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

4 lines
111 B
JavaScript

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