Skip to content

Commit

Permalink
fix Windows specific code
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveL-MSFT committed Dec 9, 2024
1 parent 492f056 commit 6d00330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsc/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Visit https://aka.ms/dscv3-docs for more information on how to use DSC.exe.
Press any key to close this window
";
let sys = System::new_with_specifics(RefreshKind::new().with_processes(ProcessRefreshKind::new()));
let sys = System::new_with_specifics(RefreshKind::nothing().with_processes(ProcessRefreshKind::everything()));
// get current process
let Ok(current_pid) = get_current_pid() else {
return;
Expand Down

0 comments on commit 6d00330

Please sign in to comment.