| ... | @@ -676,7 +676,7 @@ fn runCommand( | ... | @@ -676,7 +676,7 @@ fn runCommand( |
| 676 | try Step.handleVerbose2(step.owner, self.cwd, self.env_map, interp_argv.items); | 676 | try Step.handleVerbose2(step.owner, self.cwd, self.env_map, interp_argv.items); |
| 677 | | 677 | |
| 678 | break :term spawnChildAndCollect(self, interp_argv.items, has_side_effects, prog_node) catch |e| { | 678 | break :term spawnChildAndCollect(self, interp_argv.items, has_side_effects, prog_node) catch |e| { |
| 679 | return step.fail("unable to spawn {s}: {s}", .{ | 679 | return step.fail("unable to spawn interpreter {s}: {s}", .{ |
| 680 | interp_argv.items[0], @errorName(e), | 680 | interp_argv.items[0], @errorName(e), |
| 681 | }); | 681 | }); |
| 682 | }; | 682 | }; |
| ... | @@ -889,9 +889,7 @@ fn spawnChildAndCollect( | ... | @@ -889,9 +889,7 @@ fn spawnChildAndCollect( |
| 889 | child.stdin_behavior = .Pipe; | 889 | child.stdin_behavior = .Pipe; |
| 890 | } | 890 | } |
| 891 | | 891 | |
| 892 | child.spawn() catch |err| return self.step.fail("unable to spawn {s}: {s}", .{ | 892 | try child.spawn(); |
| 893 | argv[0], @errorName(err), | | |
| 894 | }); | | |
| 895 | var timer = try std.time.Timer.start(); | 893 | var timer = try std.time.Timer.start(); |
| 896 | | 894 | |
| 897 | const result = if (self.stdio == .zig_test) | 895 | const result = if (self.stdio == .zig_test) |