Michael Linfield wrote:
> i want to have a program restart when its closed via the X button on the
> window / terminal
>
> any ideas?
A program cannot restart itself after it is closed down. I suggest a
parent program that runs the one that you want to have running. Then,
when the child program ends, the parent can restart it.
Caveat: Make sure that there is a way to end it. You do not want it to
turn into a "never-ending story."
--
Posted via
http://www.ruby-forum.com/.