Hide tool.CMD .EXE etc. from logs, makes Windows cleaner.

This commit is contained in:
2026-02-02 20:42:18 +00:00
parent 093b83737e
commit 47e5ec279c
+1 -1
View File
@@ -179,7 +179,7 @@ def build(folder: str = "frontend") -> None:
raise SystemExit(1) raise SystemExit(1)
def run(cmd): def run(cmd):
display_cmd = [Path(cmd[0]).name, *cmd[1:]] display_cmd = [Path(cmd[0]).stem, *cmd[1:]]
logger.info("### %s", " ".join(display_cmd)) logger.info("### %s", " ".join(display_cmd))
subprocess.run(cmd, check=True, cwd=folder) subprocess.run(cmd, check=True, cwd=folder)