in reply to Close EXE

See kill - it works under Windows as well. Alternatively look at Win32::GuiTest, if you want to be a bit less hard on the application.