2
i have a process called monitor.exe and the same can not have 2 active processes because it is a print monitor that if you have 2 active processes the same will issue 2 duplicate tax notes, so I wonder if there’s a way I can make a script that checks if the process is active, if there’s only 1 active and if there’s more than 1 finish and only 1 active ?
I tried to make a simple script with taskkill /F /IM monitor.exe and then run a start path from . exe\
but sometimes when I finish the process it goes up there alone if I give the start are the 2 duplicated again, someone has some idea ?
This "monitor.exe", you developed? In which language is this monitor made? Maybe validation should be within the system itself.
– David
the system is not mine, it is outsourced, so I am having to do this script because I do not have access to the application code
– Rafael Xavier Suarez
bash is a relevant tag here?
– Marcos Banik
is relevant because there is a bash for windows
– Rafael Xavier Suarez