We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fbf7aa7 + 6689835 commit 44eeb8fCopy full SHA for 44eeb8f
1 file changed
src/tri/tri_state.zig
@@ -33,6 +33,7 @@ pub fn runProcessAndCapture(allocator: std.mem.Allocator, argv: []const []const
33
/// Run a subprocess, inherit stdio, return exit code
34
pub fn runProcessInherit(allocator: std.mem.Allocator, argv: []const []const u8) !u8 {
35
var child = std.process.Child.init(argv, allocator);
36
+ defer child.deinit();
37
child.stdout_behavior = .Inherit;
38
child.stderr_behavior = .Inherit;
39
_ = try child.spawn();
0 commit comments