builder: propagate env_map for child processes

This commit is contained in:
Michael Dusan 2021-01-07 09:16:27 -05:00 committed by Andrew Kelley
parent 70771283c5
commit 8e9a1ac364

View File

@ -1038,6 +1038,7 @@ pub const Builder = struct {
child.stdin_behavior = .Ignore;
child.stdout_behavior = .Pipe;
child.stderr_behavior = stderr_behavior;
child.env_map = self.env_map;
try child.spawn();