pmq20 / node-packer

Packing your Node.js application into a single executable.
MIT License
3.07k stars 202 forks source link

run a javascript file inside project from shell script #125

Closed hadiayoub97 closed 6 years ago

hadiayoub97 commented 6 years ago

In my node application I create a shell script and automatically run it (using the child-process library). The shell script must node a javascript file from inside the project but gives an error "cannot find node module". When running the executable, the project files are stored inside "enclose_io_memfs" . My main question is: while the executable is running can I run a shell script that runs a javascript file from within the exectuable?