This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit fdd54a87 authored by Augie Fackler's avatar Augie Fackler
Browse files

procutil: use rapply(tonativestr, ...) to preserve lists when they come in

This was broken when script was a list instead of a string. I caught this
with an internal extension at Google, and I'm not really sure why it wasn't
caught in any kind of CI.

Differential Revision: https://phab.mercurial-scm.org/D9471
parent 81da6feb5000
......@@ -640,7 +640,7 @@
# we can't use close_fds *and* redirect stdin. I'm not sure that we
# need to because the detached process has no console connection.
p = subprocess.Popen(
tonativestr(script),
pycompat.rapply(tonativestr, script),
shell=shell,
env=tonativeenv(env),
close_fds=True,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment