terminal: Bump sysinfo crate (#39681)

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Co-authored-by: dino <dinojoaocosta@gmail.com>
This commit is contained in:
Lukas Wirth
2025-10-13 16:31:00 +00:00
committed by GitHub
co-authored by dino
parent bec2bfeb8b
commit f76eecd758
9 changed files with 57 additions and 75 deletions
+3 -4
View File
@@ -988,10 +988,9 @@ fn is_new_version(version: &str) -> bool {
}
fn is_file_in_use(file_name: &OsStr) -> bool {
let info =
sysinfo::System::new_with_specifics(sysinfo::RefreshKind::new().with_processes(
sysinfo::ProcessRefreshKind::new().with_exe(sysinfo::UpdateKind::Always),
));
let info = sysinfo::System::new_with_specifics(sysinfo::RefreshKind::nothing().with_processes(
sysinfo::ProcessRefreshKind::nothing().with_exe(sysinfo::UpdateKind::Always),
));
for process in info.processes().values() {
if process