| ... | @@ -313,16 +313,13 @@ pub fn evalZigProcess( | ... | @@ -313,16 +313,13 @@ pub fn evalZigProcess( |
| 313 | try handleChildProcUnsupported(s, null, argv); | 313 | try handleChildProcUnsupported(s, null, argv); |
| 314 | try handleVerbose(s.owner, null, argv); | 314 | try handleVerbose(s.owner, null, argv); |
| 315 | | 315 | |
| 316 | const sub_prog_node = prog_node.start("", 0); | | |
| 317 | defer sub_prog_node.end(); | | |
| 318 | | | |
| 319 | var child = std.process.Child.init(argv, arena); | 316 | var child = std.process.Child.init(argv, arena); |
| 320 | child.env_map = &b.graph.env_map; | 317 | child.env_map = &b.graph.env_map; |
| 321 | child.stdin_behavior = .Pipe; | 318 | child.stdin_behavior = .Pipe; |
| 322 | child.stdout_behavior = .Pipe; | 319 | child.stdout_behavior = .Pipe; |
| 323 | child.stderr_behavior = .Pipe; | 320 | child.stderr_behavior = .Pipe; |
| 324 | child.request_resource_usage_statistics = true; | 321 | child.request_resource_usage_statistics = true; |
| 325 | child.progress_node = sub_prog_node; | 322 | child.progress_node = prog_node; |
| 326 | | 323 | |
| 327 | child.spawn() catch |err| return s.fail("unable to spawn {s}: {s}", .{ | 324 | child.spawn() catch |err| return s.fail("unable to spawn {s}: {s}", .{ |
| 328 | argv[0], @errorName(err), | 325 | argv[0], @errorName(err), |