osx - Mac OS X equivalent of Linux flock(1) command - Stack Overflow
I don't believe that the flock
command exists on OS X, but it does exist on BSD which should make it reasonably easy to port to OS X.
The closest that is available is the shlock
command (man page), but it isn't as robust or secure as flock
.
Your best bet may be to look at porting either the Linux or BSD version of flock
to OS X.
Read full article from osx - Mac OS X equivalent of Linux flock(1) command - Stack Overflow
No comments:
Post a Comment