From: Damjan Rems Date: 2008-04-01T04:53:00+09:00 Subject: Re: how to restart the system with our code Vamsi Krishna wrote: > well i'll clearly tell about this > > through my ruby code i,e; when i run my ruby program the operating > system 've to be shutdown i'm using ubuntu > so how to do.... system 'shutdown -h now' And you need to be sudo which might be a problem. But that is Ubuntu problem now. by TheR -- Posted via http://www.ruby-forum.com/.