From: Logan Barnett Date: 2008-07-23T01:47:52+09:00 Subject: Re: how do i open a terminal using ruby? On Jul 22, 2008, at 6:37 AM, James Dinkel wrote: > I have the same need. I have a script that runs in a terminal right > now, but I eventually want to make it gui (probably with Shoes) and > I'll > need an option to click a button and open a command prompt (then run a > command in that command prompt and leave the prompt open for the > user to > use). > > I haven't even begun converting to the gui part yet though, so I > haven't > put much thought into how I'm going to accomplish this. Oh yeah, and > this will need to be cross-platform, too, but it may just be a > matter of > writing a slightly different program for each platform. > > James > -- > Posted via http://www.ruby-forum.com/. > Check out Monkeybars (http://monkeybars.rubyforge.org/) for GUI stuff. Combine that with Rawr and you should have a slick cross-platform GUI along with native .app/.exe files and/or a web start link. Monkeybars sits on JRuby, so you might be able to find some Java libraries to help you out along with your gems. A quick search for Java terminal stuff yielded JLine (http://jline.sourceforge.net/). Of course, that's if the gem you had in mind isn't adequate for what you're doing.