I am trying to detect if a subprocess in currently running via CMD, But I have no idea how to do that, I know how to detect a normal process, but not a subprocess any ideas?
EDIT: I am running a program, if the program finishes it opens a new window, i want to detect when that window opens