http://phecoopkj4ytf3fokcfvykymg7zuhkwsoqbh5dgnwwee423delgexyqd.onion/page-2310170822-flock-CLI-Python3.html
/somescript # Or as a Python module
import flock
f = flock.FLock()
# Define the command
f.downstream_command = ['ls', '-l']
# Set the lockfile name (it'll default to lock)
f.lockfile = " ./mylockfile " # switch to nonblocking mode
f.args = { " -n " : " " }
# Run the command
f.exec() License BSD-3-Clause Keywords flock , python , mac , osx , linux , lock , file , cli , Latest Posts Calculating the difference between subsequent values in SQL (SQL) List pods running on a kubernetes node...