commit | 1c7a904dae3daae710f99255ba9261d3297993e3 | [log] [tgz] |
---|---|---|
author | S. Ganesh <ganesh@chromium.org> | Wed May 21 01:59:35 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 21 01:59:35 2025 |
tree | 01f18f485a11921e6ba31eec3ea38a1a58010623 | |
parent | a8feabe43b39ac4bfb4d4da12605c365911dc695 [diff] |
Fix `GetAppOutputWithExitCodeAndTimeout` to return `success` correctly This CL fixes things so that `GetAppOutputWithExitCodeAndTimeout` works correctly for any launched application/installer. `GetAppOutputWithExitCodeAndTimeout` was using `GetTerminationStatus`, which returns a termination status that is very specific to `base::KillProcesses`. For instance, most non-zero exit codes from `::GetExitCodeProcess` are mapped to `TERMINATION_STATUS_PROCESS_CRASHED`, whereas the process likely terminated normally, since `GetAppOutputWithExitCodeAndTimeout` is not calling `base::KillProcesses`. Fixed: 419062515 Change-Id: Iaffe2b287c42830548544af20e229492f13029cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6571092 Reviewed-by: David Bienvenu <davidbienvenu@chromium.org> Commit-Queue: S Ganesh <ganesh@chromium.org> Auto-Submit: S Ganesh <ganesh@chromium.org> Cr-Commit-Position: refs/heads/main@{#1463189}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.