diff --git a/src/main.zig b/src/main.zig index f0850ffa08462b1841362e76b602ad11d8012529..c577bf1079e218b0ae2a2ca281f89001f1d4e52f 100644 --- a/src/main.zig +++ b/src/main.zig @@ -5134,6 +5134,7 @@ fn jitCmdInner( } if (process.can_replace and options.capture == null) { + _ = try io.lockStderr(&.{}, .no_color); const err = process.replace(io, .{ .argv = child_argv.items, .environ_map = environ_map }); const cmd = try std.mem.join(arena, " ", child_argv.items); fatal("the following command failed to execve with {t}:\n{s}", .{ err, cmd });