gpt4 book ai didi

web - 即使关闭控制台,能否保持Web应用程序运行?

转载 作者:行者123 更新时间:2023-12-03 04:04:12 26 4
gpt4 key购买 nike

我运行“gradle tomcatRunWar”以启动运行的Web应用程序。关闭控制台后,它将停止。即使关闭控制台,如何保持Web应用程序运行?我不想使用屏幕,依此类推...

最佳答案

如果您不想使用像screentmux这样的多路复用器,则可以将nohup用作简单的单线。

以下命令将在后台运行gradle:

nohup gradle tomcatRunWar &

Here is some more info on the nohup command.

关于web - 即使关闭控制台,能否保持Web应用程序运行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31665557/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com