- Notifications
You must be signed in to change notification settings - Fork743
Electron compatibility
Nate Fischer edited this pageJun 24, 2019 ·3 revisions
We currently do not support compatibility with running ShellJS within electron, but are planning to begin work for this.
Known issues:
rmhas issues deleting ASAR archives (See#618,#628)- Known workaround: set
process.noAsar = truebefore usingshell.rm()
- Known workaround: set
execis currently broken (See#480)- Known workaround: set
config.execPathto the absolute path of your Node binary. You can usually runwhich nodeorwhich nodejsin your terminal to find this. Youmay have success usingshell.config.execPath = shell.which('node').toString(), but this isnot guaranteed to work! See#704 for more discussion.
- Known workaround: set
If you find any issues with electron support, please file a Github issue and we'll look at it promptly. If you think these workarounds are insufficient, please comment on those issues and we'll take that into consideration.