From: Nathaniel Talbott Date: 2004-11-17T23:27:32+09:00 Subject: Re: Detecting rubyw On Nov 16, 2004, at 22:22, Lyndon Samson wrote: > Do you get an exception if you try puts? If so you could catch that. Nope, no exception, and STDOUT.closed? returns false. Any other ideas? Nathaniel Terralien, Inc. <:((><