in reply to File Locking Tricks and Traps
Cool. I've often used flock to ensure only one instance of a program is running, but I never thought of opening $0 and locking that - consequently each of my scripts litters the filesystem with a matching .lck file.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: File Locking Tricks and Traps
by Limbic~Region (Chancellor) on Mar 06, 2003 at 18:02 UTC |
In Section
Meditations