child_process + Build: rename exec to run + all related code

Justification: exec, execv etc are unix concepts and portable version
should be called differently.

Do no touch non-Zig code. Adjust error names as well, if associated.
Closes #5853.
This commit is contained in:
Jan Philipp Hafer
2023-10-19 22:36:11 +02:00
committed by Andrew Kelley
parent d8c067966f
commit fd2239bde9
14 changed files with 57 additions and 59 deletions

View File

@@ -1064,7 +1064,7 @@ fn processOneTarget(job: Job) anyerror!void {
}),
};
const child_result = try std.ChildProcess.exec(.{
const child_result = try std.ChildProcess.run(.{
.allocator = arena,
.argv = &child_args,
.max_output_bytes = 400 * 1024 * 1024,