On Nov 17, 2004, at 09:48, nobu.nokada / softhome.net wrote: > At Wed, 17 Nov 2004 12:02:12 +0900, > Nathaniel Talbott wrote in [ruby-talk:120600]: >> Is there any way (on Windows) to detect if a script is running under >> rubyw.exe, i.e. headless? > > Can you open "CONIN$" and "CONOUT$" device files? I don't know... how would I do that? I don't think I've ever opened a device file on Windows. Nathaniel Terralien, Inc. <:((><