node-proper-lockfile icon indicating copy to clipboard operation
node-proper-lockfile copied to clipboard

Possibility to pass the lock to another process

Open julien-f opened this issue 4 years ago • 0 comments

My use case: I want to acquire a lock on a directory and, if successful, run a new process which will do some work in this directory and release the lock at the end.

Is unlock(path) the way to achieve this or is the lock linked to the current process?

julien-f avatar Oct 06 '21 15:10 julien-f