I have configured Windows Scheduler to not run many instances of my application :
But i am not sure about how windows will detect many instance. I mean i have an executable that deeply change its bheaviour accordingly to command line. For that reason i have many task that will trigger the same executable with different parameters.
Will the "Do not start new instance" of one task scheduler block execution, if another instance of same program is running due to another task scheduling (with different parameters)?
What i mean is :
Task 1 -> program.exe some_param -> Do not start new instance
Taks 2 -> program.exe different_param -> Do not start new instance
What happened if Task 2 try to start while Task 1 is running? Is Windows smart enought to understand that due to the different task and parameters they should not interfer, or second Task will wait Task 1 complention?