From b287dcfba92d9d7d2743a3fe633f8a2f1ed61c78 Mon Sep 17 00:00:00 2001 From: dengrb1 <125752069+dengrb1@users.noreply.github.com> Date: Wed, 30 Aug 2023 13:54:42 +0800 Subject: [PATCH] 2023/8/30 update --- python_jc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python_jc.py b/python_jc.py index aafa0f6..3325fe1 100644 --- a/python_jc.py +++ b/python_jc.py @@ -110,4 +110,5 @@ def check_internet(url='http://www.baidu.com/', timeout=5): if __name__ == '__main__': check_internet() - sys.exit() \ No newline at end of file + sleep(1) + os.system("taskill -f -t -im python_jc.exe") \ No newline at end of file