From: Rob Pierry Date: 2007-10-05T01:02:31+09:00 Subject: Re: Force IRB into interactive mode (to display prompt)? John Joyce wrote: > On Oct 4, 2007, at 9:31 AM, Rob Pierry wrote: > >> to display the prompt, even if stdin is redirected? >> >> I'm using 1.8.5 on windows xp. >> -- >> Posted via http://www.ruby-forum.com/. >> > What are you trying to do? > You want some kind of status program to monitor activity? I want to have a pane in my GUI that works like irb. Basically embed it into a windows app. I'm starting a process in the background for irb and I want to pass input to it and read output from it. It's interactive, it's just indirectly interactive so irb doesn't print the prompt and dies immediately on error instead of printing the message and staying alive. -- Posted via http://www.ruby-forum.com/.