Hiding default console window

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 :confused:

ยทยทยท

--
Posted via http://www.ruby-forum.com/.

You should use rubyw.exe in that case.

Refer to Programming Ruby: The Pragmatic Programmer's Guide

Regards,

Park Heesob

ยทยทยท

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 :confused:

Thank you!

ยทยทยท

--
Posted via http://www.ruby-forum.com/.

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 :confused:

You should use rubyw.exe in that case.

Refer to Programming Ruby: The Pragmatic Programmer's Guide

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