Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle STATUS_INVALID_PARAMETER in psutil_proc_exe
Wine versions before 9.8 and Proton versions before 9.0-1 did not implement the `SystemProcessIdInformation` system information class in `NtQuerySystemInformation`, returning `STATUS_INVALID_PARAMETER`. Ubuntu 24.04.1 LTS currently ships with Wine 9.0, and CrossOver 24.0.5 has not backported the implementation of the `SystemProcessIdInformation` system information class to its bundled Wine 9.0 Handle this error case and fall back to `QueryFullProcessImageNameW` to get the process name. Signed-off-by: Ben Peddell <[email protected]>
- Loading branch information