-
Notifications
You must be signed in to change notification settings - Fork 744
Exec not working in Electron ! #726
Copy link
Copy link
Closed
Description
shell.exec not working showing this error
Uncaught Error: exec: internal error
at Object.error (common.js:130)
at Object._exec (exec.js:292)
at Object.eval [as exec] (common.js:334)
at dialog.showOpenDialog.filepaths (Accordion.js?36f0:53)
at CallbacksRegistry.apply (C:\Users\aksgarg\Desktop\JARVIS\node_modules\electron\dist\resources\electron.asar\common\api\callb…:48)
at EventEmitter. (C:\Users\aksgarg\Desktop\JARVIS\node_modules\electron\dist\resources\electron.asar\renderer\api\rem…:299)
at emitThree (events.js:116)
at EventEmitter.emit (events.js:197)
let shell=require('shelljs'); shell.config.fatal=true; shell.cd(require('path').resolve(filepaths[0])); shell.exec(git clone ${clone_url});
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels