@tony2n91 said in About ending nodejs:
I'm using While (for loop), if and else. How can i force to exit Nodejs and give success inside the loop ? I did try to create success action and use it, but not working well.
Things happen.
@js654 said in How can I start a BAS script using nodejs?:
Hi all,
I am looking to write a nodejs code that starts a BAS script, waits for the BAS script to finish and then continues doing its job in nodejs. How can I do this?Any type of guidance will be greatly appreciated :)
Thanks!
Why are you asking this on the BAS forum?
https://nodejs.org/docs/latest/api/child_process.html
https://stackoverflow.com/questions/19762350/execute-an-exe-file-using-node-js