Read about our upcoming Code of Conduct on this issue

Commit ab6288cd 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:

branch : stable
parent 81da6feb5000
......@@ -640,7 +640,7 @@ if pycompat.iswindows:
# 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(
pycompat.rapply(tonativestr, script),
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