From: Newb Newb Date: 2009-04-08T18:11:18+09:00 Subject: Re: to run window service using ruby Newb Newb wrote: > Vikhyat Korrapati wrote: >> Newb Newb wrote: >>> Thanks for the reply... >>> >>> Actually i run qt program as windows service. >>> >>> to start and restart i manually give command in the windows command >>> prompt. >>> >>> now i would like to know how to run this program using our ruby... >>> >>> any command or something... >>> >>> pls help >> >> You can run any command as if run in a command line using the system >> method, like this: >> >> system('command to run') > > Now i did start stop and continue and pass the windows service. but how to Restart a windows service... What command is needed. Pls help me -- Posted via http://www.ruby-forum.com/.