The value of `args` should quote `comspec`. Otherwise the shell process won't parse its command line correctly if `comspec` contains spaces. _Originally posted by @eryksun in https://github.com/python/cpython/pull/101712#discussion_r1100761091_
The value of
argsshould quotecomspec. Otherwise the shell process won't parse its command line correctly ifcomspeccontains spaces.Originally posted by @eryksun in #101712 (comment)