I am creating a Java application UI that do some edits in an ionic app. then I need to run the ionic app with the command npm run test automatically from the Java application. I am almost done with the Java code I only need an API that run npm commands from Java application.

I can do that manually by

  • After running the Java application and edit in the ionic app.
  • Opening the Node.js command prompt.
  • Go to the folder directory.
  • execute npm run test from the Node.js CLI.

I want to automate that with an API.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.