Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Hiding default console window
-- --
10/18/2008 10:25:00 AM
I wrote simple Ruby console program that reads file, modifies it in way
that's not important now, and saves it back. It's called by other
program few hundred times, and every time console winodw appears, what
disturbs normal working. Is it possible to hide that window (or at least
make it to not be focused) without libs like GTK/Tk?
I already tried googling, but everytime I search "ruby windows", it
gives libs or installers for Windows :/
--
Posted via
http://www.ruby-...
.
3 Answers
Heesob Park
10/18/2008 11:32:00 AM
0
2008/10/18 -- -- <matma.rex@gmail.com>:
> I wrote simple Ruby console program that reads file, modifies it in way
> that's not important now, and saves it back. It's called by other
> program few hundred times, and every time console winodw appears, what
> disturbs normal working. Is it possible to hide that window (or at least
> make it to not be focused) without libs like GTK/Tk?
>
> I already tried googling, but everytime I search "ruby windows", it
> gives libs or installers for Windows :/
You should use rubyw.exe in that case.
Refer to
http://www.ruby-doc.org/docs/ProgrammingRuby/html/win...
Regards,
Park Heesob
-- --
10/18/2008 1:24:00 PM
0
Thank you!
--
Posted via
http://www.ruby-...
.
Joel VanderWerf
10/18/2008 6:31:00 PM
0
Heesob Park wrote:
> 2008/10/18 -- -- <matma.rex@gmail.com>:
>> I wrote simple Ruby console program that reads file, modifies it in way
>> that's not important now, and saves it back. It's called by other
>> program few hundred times, and every time console winodw appears, what
>> disturbs normal working. Is it possible to hide that window (or at least
>> make it to not be focused) without libs like GTK/Tk?
>>
>> I already tried googling, but everytime I search "ruby windows", it
>> gives libs or installers for Windows :/
> You should use rubyw.exe in that case.
>
> Refer to
http://www.ruby-doc.org/docs/ProgrammingRuby/html/win...
>
> Regards,
>
> Park Heesob
and if you're using the 1-click ruby, then .rbw is already associated
with rubyw.exe.
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Hiding default console window
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password