Skip to content

Commit

Permalink
In spawn, when logging a command, use list2cmdline to render the comm…
Browse files Browse the repository at this point in the history
…and as it would be used, restoring expectation lost in python/cpython#18743. Ref pypa/setuptools#2417 where this change was a red-herring for another issue.
  • Loading branch information
jaraco committed Nov 6, 2020
1 parent 4f01662 commit 35e1c9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distutils/spawn.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def spawn(cmd, search_path=1, verbose=0, dry_run=0, env=None):
# in, protect our %-formatting code against horrible death
cmd = list(cmd)

log.info(' '.join(cmd))
log.info(subprocess.list2cmdline(cmd))
if dry_run:
return

Expand Down

0 comments on commit 35e1c9d

Please sign in to comment.