Skip to content

Electron compatibility

Nate Fischer edited this page Jun 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:

  • rm has issues deleting ASAR archives (See #618, #628)
    • Known workaround: set process.noAsar = true before using shell.rm()
  • exec is currently broken (See #480)
    • Known workaround: set config.execPath to the absolute path of your Node binary. You can usually run which node or which nodejs in your terminal to find this. You may have success using shell.config.execPath = shell.which('node').toString(), but this is not guaranteed to work! See #704 for more discussion.

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.

Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy