#Using the bundled node outside of electron

3 messages · Page 1 of 1 (latest)

south bane
#

We have an application that currently bundles both electron and node to support running some independent node code.
We would like to remove the node binary as electron already includes node.

However, we don't see a way to run a node script outside of electron using the electron binary (even when electron is not running at all).

Something like electron --run-node script.js would what we would like to be able to do.

Is it possible to achieve this or do we need to continue bundling our own node binary?

daring heart
#

child_process.fork doesnt work?

weak sandal