mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-13 09:22:56 +01:00
mzteinit: pass env to launch command
This commit is contained in:
parent
ccc860796e
commit
c97c9f9e48
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue