From d933d597549b5c9f625e3153b3c426ccfffaed6c Mon Sep 17 00:00:00 2001 From: Carol Date: Wed, 13 Sep 2023 14:46:13 +0800 Subject: [PATCH] =?UTF-8?q?add:=20=E8=A1=A5=E5=85=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 99f6640..d7306be 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,13 @@ python3 main.py python3 main.py --dir_path "example/movies","example/tvs" --output data/metadata/person --tmdb_token tmdb_token --mode collect ``` +#### 3. 后台执行 +> 可以结合前两种执行方式使用 + +```shell +nohup python3 main.py > nohup.log 2>&1 & echo &! > run.pid +``` + ### 补充 1. 运行提示 `no module name requests` 但是实际python环境中又安装了的: * 查看当前执行的python版本:```python --version```