How to send the command from Node.js to Java Program

后端 未结 0 377
忘掉有多难
忘掉有多难 2021-01-30 12:55
var spawn = require(\'child_process\').spawn
var child = spawn("java",["-jar C:/Users/user/Documents/NetBeansProjects/helloWorld/target/helloWorld-1.0.jar         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题