Answer the question
In order to leave comments, you need to log in
How to execute a file with the default program from nodejs?
I use NodeJS in conjunction with NW.JS.
What are the ways? modules? it is possible exactly NodeJS means, without NW, JS?
For example: run an exe file, open a folder, open a picture in the default program
Answer the question
In order to leave comments, you need to log in
There is a ready-made package: https://www.npmjs.com/package/open
There are
actually three lines of code inside, EMNIP :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question