Morten W. Petersen <morten at esol.no> wrote in message news:lqvgr86gb7.fsf at snacks.esol.no... > > I've got a standalone script which I need to make sure doesn't > access a file while another process is running the same script. q.v. flock, ioctl, fcntl, lockf in the Library Reference