I use NodeJs and I want to exec java program and catch the return value from the program - How can I do that?
For example: in NodeJs I got file name as param --> I pass the file name to the java exec program that analyze the file, extract the text and return it.
There is an option to catch the text that the java program return?