In my c# program I generate a batch file and run it with cmd.
The batch file in turn creates more processes (I’ll call them “child processes”).
I wish for the child processes to have the same priority as the batch file. It works fine when batch’s priority is <= NORMAL, but if it is higher, the child processes’ priority is just NORMAL. I don’t want use the START command as I need to wait for a child process finish before moving on.
In my c# program I generate a batch file and run it with cmd.
Share
You can use the Start command and use the /wait option.