From: Robert Klemme Date: 2005-09-08T20:16:33+09:00 Subject: Re: Problem with popen on windows Kroeger Simon (ext) wrote: > Hi all, > > i'm using ruby 1.8.2 (2004-12-25) [i386-mswin32] on win2000. > > When starting my GUI app with rubyw (because i don't like the empty > window) there is another window poping up whenever i call popen. (or > use backquotes to start another process) > > Using just ruby.exe all seems fine (except the initial nasty empty > window) > > Someone knows a way around? Untested: maybe you can change COMSPEC env var in your ruby script to point to another binary that won't open a window before executing the new process. Another option might be to add a command line param to COMSPEC - although I don't know whether that would work. Kind regards robert