From: "ara.t.howard" Date: 2008-07-22T12:32:44+09:00 Subject: Re: how do i open a terminal using ruby? On Jul 21, 2008, at 6:08 PM, Philip Rutkowski wrote: > hi- > > i want to open up a terminal from ruby if it was not executed in one. > so, > > if not STDIN.isatty > #Open up a terminal > end > > do i have to use IO.popen? i would rather not because, i'm using linux > but this ruby script will also be executed on windows. how do i > account > for when to use "gnome-terminal" and when to use "cmd"? then, how do i > write to that terminal window? > > is there something easier? > thanks!!! why? a @ http://codeforpeople.com/ -- we can deny everything, except that we have the possibility of being better. simply reflect on that. h.h. the 14th dalai lama