Update taosShellNetChk.py

This commit is contained in:
Hui Li 2022-11-23 21:34:41 +08:00 committed by GitHub
parent 4b21e19c02
commit 8761972b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ class TDTestCase:
finally: finally:
if platform.system().lower() == 'windows': if platform.system().lower() == 'windows':
tdLog.info("ps -a | grep taos | awk \'{print $2}\' | xargs kill -9") tdLog.info("ps -a | grep taos | awk \'{print $2}\' | xargs kill -9")
# os.system('ps -a | grep taos | awk \'{print $2}\' | xargs kill -9') os.system('ps -a | grep taos | awk \'{print $2}\' | xargs kill -9')
else: else:
tdLog.info("pkill -9 taos") tdLog.info("pkill -9 taos")
# os.system('pkill -9 taos') # os.system('pkill -9 taos')