kcws 3.46__tar.gz → 3.48__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {kcws-3.46 → kcws-3.48}/PKG-INFO +2 -2
- {kcws-3.46 → kcws-3.48}/kcws/__init__.py +1 -1
- {kcws-3.46 → kcws-3.48}/kcws/common/autoload.py +14 -11
- {kcws-3.46 → kcws-3.48}/kcws.egg-info/PKG-INFO +2 -2
- {kcws-3.46 → kcws-3.48}/kcws/Events.py +0 -0
- {kcws-3.46 → kcws-3.48}/kcws/app.py +0 -0
- {kcws-3.46 → kcws-3.48}/kcws/common/__init__.py +0 -0
- {kcws-3.46 → kcws-3.48}/kcws/common/globals.py +0 -0
- {kcws-3.46 → kcws-3.48}/kcws/common/request.py +0 -0
- {kcws-3.46 → kcws-3.48}/kcws/config/__init__.py +0 -0
- {kcws-3.46 → kcws-3.48}/kcws/kcws.py +0 -0
- {kcws-3.46 → kcws-3.48}/kcws.egg-info/SOURCES.txt +0 -0
- {kcws-3.46 → kcws-3.48}/kcws.egg-info/dependency_links.txt +0 -0
- {kcws-3.46 → kcws-3.48}/kcws.egg-info/entry_points.txt +0 -0
- {kcws-3.46 → kcws-3.48}/kcws.egg-info/requires.txt +0 -0
- {kcws-3.46 → kcws-3.48}/kcws.egg-info/top_level.txt +0 -0
- {kcws-3.46 → kcws-3.48}/setup.cfg +0 -0
- {kcws-3.46 → kcws-3.48}/setup.py +0 -0
{kcws-3.46 → kcws-3.48}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcws
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.48
|
|
4
4
|
Summary: kcwebs作为web开发而设计的高性能框架
|
|
5
5
|
Home-page: https://docs.kwebapp.cn/index/index/2
|
|
6
6
|
Author: 百里-坤坤
|
|
@@ -9,5 +9,5 @@ Maintainer: 坤坤
|
|
|
9
9
|
Maintainer-email: fk1402936534@qq.com
|
|
10
10
|
License: MIT License
|
|
11
11
|
Description: kcwebs作为web开发而设计的高性能框架,采用全新的架构思想,注重易用性。遵循MIT开源许可协议发布,意味着个人和企业可以免费使用kcwebs,甚至允许把你基于kcwebs开发的应用开源或商业产品发布或销售。完整文档请访问:https://docs.kwebapp.cn/index/index/2
|
|
12
|
-
Keywords: kcws3.
|
|
12
|
+
Keywords: kcws3.48
|
|
13
13
|
Platform: UNKNOWN
|
|
@@ -301,9 +301,9 @@ def get_pid_info(pid,types='pid'):
|
|
|
301
301
|
if psutil.pid_exists(pid):
|
|
302
302
|
return pid
|
|
303
303
|
else:
|
|
304
|
-
try:
|
|
305
|
-
|
|
306
|
-
except:pass
|
|
304
|
+
# try:
|
|
305
|
+
# os.remove(get_folder()+"/pid/"+md5(route)+"_cli_pid")
|
|
306
|
+
# except:pass
|
|
307
307
|
return False
|
|
308
308
|
except psutil.NoSuchProcess as e:
|
|
309
309
|
if 'psutil.NoSuchProcess no process found with pid '+str(pid) in str(e):
|
|
@@ -328,16 +328,19 @@ def kill_pid(pid):
|
|
|
328
328
|
pid 进程号
|
|
329
329
|
"""
|
|
330
330
|
if pid:
|
|
331
|
-
if 'Linux' in get_sysinfo()['platform']:
|
|
332
|
-
os.system("kill -9 "+str(pid))
|
|
333
|
-
else:
|
|
334
|
-
try:
|
|
335
|
-
os.kill(int(pid), signal.SIGTERM)
|
|
336
|
-
except:pass
|
|
337
331
|
for i in range(600):
|
|
338
|
-
if
|
|
332
|
+
if 'Linux' in get_sysinfo()['platform']:
|
|
333
|
+
os.system("kill -9 "+str(pid))
|
|
334
|
+
else:
|
|
335
|
+
try:
|
|
336
|
+
os.kill(int(pid), signal.SIGTERM)
|
|
337
|
+
except:pass
|
|
338
|
+
if not get_pid_info(pid=pid,types='pid'):
|
|
339
339
|
return True
|
|
340
|
-
|
|
340
|
+
else:
|
|
341
|
+
time.sleep(0.1)
|
|
342
|
+
if i>60:
|
|
343
|
+
raise Exception('kill_pid error:pid='+str(pid))
|
|
341
344
|
return True
|
|
342
345
|
def kill_route_cli(route):
|
|
343
346
|
"""通过路由结束进程
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: kcws
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.48
|
|
4
4
|
Summary: kcwebs作为web开发而设计的高性能框架
|
|
5
5
|
Home-page: https://docs.kwebapp.cn/index/index/2
|
|
6
6
|
Author: 百里-坤坤
|
|
@@ -9,5 +9,5 @@ Maintainer: 坤坤
|
|
|
9
9
|
Maintainer-email: fk1402936534@qq.com
|
|
10
10
|
License: MIT License
|
|
11
11
|
Description: kcwebs作为web开发而设计的高性能框架,采用全新的架构思想,注重易用性。遵循MIT开源许可协议发布,意味着个人和企业可以免费使用kcwebs,甚至允许把你基于kcwebs开发的应用开源或商业产品发布或销售。完整文档请访问:https://docs.kwebapp.cn/index/index/2
|
|
12
|
-
Keywords: kcws3.
|
|
12
|
+
Keywords: kcws3.48
|
|
13
13
|
Platform: UNKNOWN
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{kcws-3.46 → kcws-3.48}/setup.py
RENAMED
|
File without changes
|