This commit is contained in:
xaoyaoo 2024-08-11 11:17:57 +08:00
parent af6e866a18
commit 0c020ec602

View File

@ -438,7 +438,7 @@ def merge_real_time_db(key, merge_path: str, db_paths: [dict] or dict, real_time
# 调用cmd命令
cmd = f'{real_time_exe_path} "{key}" "{merge_path}" "{endbs}"'
# os.system(cmd)
wx_core_loger.info(f"合并实时数据库命令:{cmd}")
# wx_core_loger.info(f"合并实时数据库命令:{cmd}")
p = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=merge_path_base,
creationflags=subprocess.CREATE_NO_WINDOW)
out, err = p.communicate() # 查看返回值