Prevent ryzenadj creating console window

This commit is contained in:
Kamil Trzciński 2022-11-16 21:59:15 +01:00
parent 47860ce9d5
commit c223a11d57

View file

@ -140,7 +140,9 @@ namespace PowerControl
"--slow-limit=" + mW.ToString(),
"--fast-limit=" + mW.ToString(),
},
WindowStyle = ProcessWindowStyle.Hidden
WindowStyle = ProcessWindowStyle.Hidden,
UseShellExecute = false,
CreateNoWindow = true
});
return selected;