Answer the question
In order to leave comments, you need to log in
How to run sh files on server using nodejs?
Good morning!
I wrote an application in Koa.js...
Now I need some sh file to be launched when a certain method is called. It is possible that the file will need access rights (sudo) and accept parameters that my application will pass.
Explain, please, how to implement it correctly, taking into account security.
Thank you very much in advance!)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question