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