From 33687faedd2cbd47f5648d936a35907d26f4a514 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 25 Oct 2023 21:28:49 +0530 Subject: [PATCH] ... --- setup/parallel_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/parallel_build.py b/setup/parallel_build.py index 7c53f0791d..0208bbaefc 100644 --- a/setup/parallel_build.py +++ b/setup/parallel_build.py @@ -4,7 +4,7 @@ __license__ = 'GPL v3' __copyright__ = '2014, Kovid Goyal ' -import subprocess, os, itertools, json, sys +import subprocess, os, itertools, json, sys, shlex from multiprocessing.pool import ThreadPool as Pool from collections import namedtuple from threading import Thread @@ -19,7 +19,7 @@ cpu_count = min(16, max(1, os.cpu_count())) def run_worker(job, decorate=True): cmd, human_text = job.cmd, job.human_text - human_text = human_text or ' '.join(cmd) + human_text = human_text or shlex.join(cmd) cwd = job.cwd if cmd[0].lower().endswith('cl.exe'): cwd = os.environ.get('COMPILER_CWD')