Closed 1qw223 closed 2 years ago
Please try: procgov64.exe -r -e 50 -- cmd /c Testsoft.exe
. I added the -r
parameter (as you probably want to apply the limit to testsoft.exe and not only cmd) and removed -p
. You should either use -p <PID>
or a path with arguments. If you don't need a new console window, you could start testsoft.exe
directly from procgov: procgov64.exe -e 50 -- Testsoft.exe
.
When I use CMD to start software, I found i can't to set cpurate
procgov64.exe -e 50 -p 11140
cmd /c Testsoft.exe
ERROR: (0x80004005): The parameter is incorrect