diff --git a/工具v2/工具面板.py b/工具v2/工具面板.py index b7634cb2..de39d1e8 100644 --- a/工具v2/工具面板.py +++ b/工具v2/工具面板.py @@ -9,7 +9,7 @@ def run_command(name,openfilelist): configjson = load_dict("文本文件/config.json") for f in openfilelist: if not f in configjson: - os.system("code "+f) + os.system("code -w "+f) else: lineindex = getlineindex(f'"{f}"',"文本文件/config.json") os.system(f"code -w -g 文本文件/config.json:{lineindex}")