/withlock

simple utility to run a program while holding a lockfile

Primary LanguageGo

withlock

A simple utility to run a command while holding a lockfile

Usage:

$ withlock -p /var/run/foo.lock -- foo -arg