Discussion
:
Re: how to restart the system with our code
Afficher un message
31/03/2008, 21h56
#
5
Marc Heiler
Messages: n/a
Hébergeur:
Re: how to restart the system with our code
Vamsi Krishna,
Any command/combination you use in your shell, you can use from ruby too
system "the command"
or
return_value = `the_command`
There are more ways, but system is the easiest one.
--
Posted via
http://www.ruby-forum.com/
.
Marc Heiler
Page generated in
0,04663
seconds with
9
queries