| ... | ... | @@ -101,7 +101,7 @@ resource_usage_statistics: ResourceUsageStatistics = .{}, |
| 101 | 101 | /// |
| 102 | 102 | /// The child's progress tree will be grafted into the parent's progress tree, |
| 103 | 103 | /// by substituting this node with the child's root node. |
| 104 | | progress_node: std.Progress.Node = .{ .index = .none }, |
| 104 | progress_node: std.Progress.Node = std.Progress.Node.none, |
| 105 | 105 | |
| 106 | 106 | pub const ResourceUsageStatistics = struct { |
| 107 | 107 | rusage: @TypeOf(rusage_init) = rusage_init, |
| ... | ... | @@ -376,6 +376,7 @@ pub fn run(args: struct { |
| 376 | 376 | env_map: ?*const EnvMap = null, |
| 377 | 377 | max_output_bytes: usize = 50 * 1024, |
| 378 | 378 | expand_arg0: Arg0Expand = .no_expand, |
| 379 | progress_node: std.Progress.Node = std.Progress.Node.none, |
| 379 | 380 | }) RunError!RunResult { |
| 380 | 381 | var child = ChildProcess.init(args.argv, args.allocator); |
| 381 | 382 | child.stdin_behavior = .Ignore; |
| ... | ... | @@ -385,6 +386,7 @@ pub fn run(args: struct { |
| 385 | 386 | child.cwd_dir = args.cwd_dir; |
| 386 | 387 | child.env_map = args.env_map; |
| 387 | 388 | child.expand_arg0 = args.expand_arg0; |
| 389 | child.progress_node = args.progress_node; |
| 388 | 390 | |
| 389 | 391 | var stdout = std.ArrayList(u8).init(args.allocator); |
| 390 | 392 | var stderr = std.ArrayList(u8).init(args.allocator); |