{%hackmd BJrTq20hE %} # 在Linux啟動/關閉背景執行的Python APP語法 ## 啟動 ``` python= nohup python3 app.py ``` ## 關閉 Step 1. 先找到PID ``` python= ps aux ``` or ``` python= ps aux | grep app.py ``` Step 2 使用kill指令 ``` python= kill <PID> ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up