mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-26 07:09:02 +02:00
mzteinit: pass env to launch command
This commit is contained in:
parent
ccc860796e
commit
c97c9f9e48
|
@ -89,6 +89,7 @@ fn tryMain() !void {
|
||||||
if (launch_cmd) |cmd| {
|
if (launch_cmd) |cmd| {
|
||||||
try msg("using launch command", .{});
|
try msg("using launch command", .{});
|
||||||
var child = std.ChildProcess.init(cmd, alloc);
|
var child = std.ChildProcess.init(cmd, alloc);
|
||||||
|
child.env_map = &env_map;
|
||||||
_ = try child.spawnAndWait();
|
_ = try child.spawnAndWait();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue