从其构建的 Jar 文件中运行 Java(另一种方式)

huangapple go评论63阅读模式
英文:

Running java from its built Jar file (the alternative way)

问题

这个命令是否有非阻塞的等效方式:

Java -jar target/filename.war

谢谢

英文:

IS there a non process blocking equivalent for the command :

Java -jar target/filename.war

Thanks

答案1

得分: 0

以下命令将有所帮助

nohup java -jar target/filename.war &

输出(控制台)将可在nohup.out中查看。

英文:

The below command would help

nohup java -jar target/filename.war &

output (console) will be available at nohup.out.

huangapple
  • 本文由 发表于 2020年9月3日 08:12:50
  • 转载请务必保留本文链接:https://go.coder-hub.com/63715072.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定