On 10/31/06, camenix <vipeak / gmail.com> wrote:
>      I want to run a ruby script on windows hiding dos prompt ,because
> some code come from lib,
> I can't use rubyw.exe to solve this problem.
>     The question is ,how to hiding dos prompt without deleting all the
> "puts", "print","printf"  in the code?
>     what should i do with $stderror and $stdout?
>     Any idea is  welcome.

You can only hide the DOS prompt by using rubyw.exe (there's no
console). You can, however redirect the STDERR and STDOUT (and STDIN,
don't forget) to either strings or files.

-austin
-- 
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
               * austin / halostatue.ca * http://www.halostatue.ca/feed/
               * austin / zieglers.ca