I am using the code below to start ror server. Is there a easy way to quit that window without going through the route of finding the pid and using 'taskkill'? I mean after all i have the handle in 'shell' variable don't I?
shell = WIN32OLE.new('Shell.Application')
shell.ShellExecute("run_app_server.bat")
With the above code a window running ror server shows up. Now I also want to quit it from within the code.
Thanks