in reply to Re: error message not working
in thread error message not working
Actually no, it doesn't, because of the LOCK_NB, flock won't block but returns immediately. Of course, this only works on *nix-like systems, not on windows-like ones, so I'm guessing that's where the problem is.