|
@@ -80,8 +80,8 @@ ErrorOr<CommandResult> command(String const& program, Vector<String> const& argu
|
|
|
}
|
|
|
return String::copy(result_file->read_all());
|
|
|
};
|
|
|
- auto stdout = read_all_from_pipe(stdout_pipe);
|
|
|
- auto stderr = read_all_from_pipe(stderr_pipe);
|
|
|
+ auto output = read_all_from_pipe(stdout_pipe);
|
|
|
+ auto error = read_all_from_pipe(stderr_pipe);
|
|
|
|
|
|
int wstatus { 0 };
|
|
|
waitpid(pid, &wstatus, 0);
|
|
@@ -94,7 +94,7 @@ ErrorOr<CommandResult> command(String const& program, Vector<String> const& argu
|
|
|
# endif
|
|
|
}
|
|
|
|
|
|
- return CommandResult { WEXITSTATUS(wstatus), stdout, stderr };
|
|
|
+ return CommandResult { WEXITSTATUS(wstatus), output, error };
|
|
|
}
|
|
|
|
|
|
#endif
|