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 aa5cfad + c7762f8 commit e494987Copy full SHA for e494987
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