mzteinit: pass env to launch command

This commit is contained in:
LordMZTE 2023-08-26 15:42:36 +02:00
parent ccc860796e
commit c97c9f9e48
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -89,6 +89,7 @@ fn tryMain() !void {
if (launch_cmd) |cmd| {
try msg("using launch command", .{});
var child = std.ChildProcess.init(cmd, alloc);
child.env_map = &env_map;
_ = try child.spawnAndWait();
return;
}