Update tests/army/frame/common.py

Co-authored-by: WANG Xu <feici02@outlook.com>
This commit is contained in:
haoranchen 2024-10-30 14:24:59 +08:00 committed by GitHub
parent 7e89000d4e
commit 25ea22e0b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -807,8 +807,9 @@ class TDCom:
if (platform.system().lower() == 'windows'):
os.system(f"TASKKILL /F /IM {processor_name}.exe")
else:
tdLog.debug(f"unset LD_PRELOAD; sudo pkill -f -{signal} '{processor_name}' ")
os.system(f"unset LD_PRELOAD; sudo pkill -f -{signal} '{processor_name}' ")
command = f"unset LD_PRELOAD; sudo pkill -f -{signal} '{processor_name}'"
tdLog.debug(f"command: {command}")
os.system(command)
def gen_tag_col_str(self, gen_type, data_type, count):