Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
深度终端输入命令,比如jar开启服务等,关闭终端失效
Apps Section
422
views ·
4
replies ·
To
floor
Go
jiancheng_wang
deepin
2018-10-25 06:12
Author
我用jar 启动一个服务,然后终端一直打印日志信息,然后关闭终端的时候,对应的jar就关闭了,类似ctrl+c的操作,怎么让我关闭终端的时候,服务还正常运行
Reply
Like 0
Favorite
View the author
All Replies
xiaoxiaoming
deepin
2018-10-25 06:29
#1
“nohup 启动命令 &”
详细的用法可以百度
Reply
Like 0
View the author
doooooit
deepin
2018-10-25 17:21
#2
最便捷的做法:Alt + F2 打开雷神终端,执行命令后退出雷神终端,后台服务仍在跑,但表面上不会看到任何窗口在运行。
Reply
Like 0
View the author
iminto
deepin
2018-10-25 21:13
#3
nohup java -jar xxxx.jar >/dev/null 2>&1 &
Copy the Code
Reply
Like 0
View the author
lquk
deepin
2018-10-26 02:52
#4
注册服务启动啊
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Update driver for my computer
Popular Events
More