From: Alexey Borzenkov Date: 2009-04-10T05:39:08+09:00 Subject: Re: to run window service using ruby >> Now i did start stop and continue and pass the windows service. > but how to Restart a windows service... > What command is needed. Have a look at win32-service gem http://raa.ruby-lang.org/project/win32-service/ If you want to create a service that is written in ruby, then code sample there is horribly outdated and you will need to read source code and comments to understand how to do it in the new style. But if you want to start/stop/restart some other service, then it works just like on that page. Have a look. -- Posted via http://www.ruby-forum.com/.