Hi, I have a number of rails servers running on windows as a single service (written in C#) and would like to terminate all processes when the service is stopped. The windows C# way is to use Process.abort(), but it does not seem to kill all processes. Another way is to have a controller method perform a Kernel::exit(1) or an abort(). These terminate the thread, but do not kill the server, at least not mongrel or webrick. Maybe the answer is obvious, but I am not really a windows person. Any ideas? Thanks, Guus.
on 2009-05-13 23:45