This ends the task tree for Server2Go which kills the Server2Go.exe file, Apache and MySql. Unfortunately it still doesn't run any of the exe files you have listed in the pms_config.ini file to run after shutdown, but at least it kills all the necessary processes.
Hope this helps someone!
What a bright idea! :-)
I take it that you added this to the section of which programs to run on "shut down" in that same config file?
Now does this kill just the single process, or the whole process tree?
I actually just do this from within my web app from an AJAX call so it happens behind the scenes. Unfortunately Server2Go doesn't run any of the EXEs listed in the shut down config when using this method, but at least it does shut down! :)
And this does shut down the entire process tree so Server2Go, Apache and MySQL are all shut down...
Thanks for the taskkill workaround, that at least gets it to work.
There is problem though with that: if I start server2go from a cdrom and use that taskkill hack, something still locks the cd-tray. Only brute force with a wire or pc restart will free the tray.
I've checked for possible filelocks, but there ar none, and I haven't been able to identify the culprit.