Update tests/army/frame/common.py
Co-authored-by: WANG Xu <feici02@outlook.com>
This commit is contained in:
parent
7e89000d4e
commit
25ea22e0b1
|
@ -807,8 +807,9 @@ class TDCom:
|
||||||
if (platform.system().lower() == 'windows'):
|
if (platform.system().lower() == 'windows'):
|
||||||
os.system(f"TASKKILL /F /IM {processor_name}.exe")
|
os.system(f"TASKKILL /F /IM {processor_name}.exe")
|
||||||
else:
|
else:
|
||||||
tdLog.debug(f"unset LD_PRELOAD; sudo pkill -f -{signal} '{processor_name}' ")
|
command = f"unset LD_PRELOAD; sudo pkill -f -{signal} '{processor_name}'"
|
||||||
os.system(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):
|
def gen_tag_col_str(self, gen_type, data_type, count):
|
||||||
|
|
Loading…
Reference in New Issue