How about a utility that would allow a specified command line or application to be run when a process exits, or drops to 0% CPU usage for more than x minutes?
I'm thinking of using shutdown.exe primarily, but it would be really good if it were more generic, and perhaps allow simple batch processing for apps that don't have batch options, or sequencing of processing (eg. convert video data, on exit run ISO builder, on exit burn to DVD, on exit shutdown).
Not sure if this is a coding snack or something to be added to an existing project?