I've been asked to create a utility that monitors the launching of applications for errors. For an example... If I were to launch MS Excel, and Excel generates errors or simply doesn't open, I will need to log it to a text file then close all Excel related windows. Keep in mind that this is not Excel specific and should be able to work with any application I chose.
I've been looking on the web for a possible solution for a few days now and haven't been able to come up with anything. Am I being realistic here?