Skip to content

Commit 6d00330

Browse files
committed
fix Windows specific code
1 parent 492f056 commit 6d00330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Visit https://aka.ms/dscv3-docs for more information on how to use DSC.exe.
145145
146146
Press any key to close this window
147147
";
148-
let sys = System::new_with_specifics(RefreshKind::new().with_processes(ProcessRefreshKind::new()));
148+
let sys = System::new_with_specifics(RefreshKind::nothing().with_processes(ProcessRefreshKind::everything()));
149149
// get current process
150150
let Ok(current_pid) = get_current_pid() else {
151151
return;

0 commit comments

Comments
 (0)