this request was inspired by a post from turtlleboy here: http://www.donationc...dex.php?topic=1394.0
..a program that could sense when a program has completed it's function (or goes idle) and then closes that program..
i think a commandline program that can launch another program (with normal args), but be given some instructions about when to shut down that program.
you might want to use it to launch a program and kill it after x minutes, or kill it if it uses too much cpu, or as turtleboy suggested, close it after some period of 'inactivity'.
so im thinking somthing like
RunAndClose.exe 'notepad.exe myfile.txt' -closeafter 10minutes -closeafterinactivefor 2minutes