fix
This commit is contained in:
parent
af6e866a18
commit
0c020ec602
@ -438,7 +438,7 @@ def merge_real_time_db(key, merge_path: str, db_paths: [dict] or dict, real_time
|
|||||||
# 调用cmd命令
|
# 调用cmd命令
|
||||||
cmd = f'{real_time_exe_path} "{key}" "{merge_path}" "{endbs}"'
|
cmd = f'{real_time_exe_path} "{key}" "{merge_path}" "{endbs}"'
|
||||||
# os.system(cmd)
|
# 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,
|
p = subprocess.Popen(cmd, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=merge_path_base,
|
||||||
creationflags=subprocess.CREATE_NO_WINDOW)
|
creationflags=subprocess.CREATE_NO_WINDOW)
|
||||||
out, err = p.communicate() # 查看返回值
|
out, err = p.communicate() # 查看返回值
|
||||||
|
Loading…
Reference in New Issue
Block a user