From: Brian Candler Date: 2010-03-10T20:16:56+09:00 Subject: Re: how to test if a file is open ? > The traditional Unix utilities to solve this problem are "lsof" and > "fuser". I don't know if OSX has either of these as standard, but they > are probably available as ports. Or it might be "fstat", given that OSX is BSD-derived. http://netbsd.gw.com/cgi-bin/man-cgi?fstat++NetBSD-4.0 -- Posted via http://www.ruby-forum.com/.