http://phecoopkj4ytf3fokcfvykymg7zuhkwsoqbh5dgnwwee423delgexyqd.onion/page-2310170822-flock-CLI-Python3.html
However, to simply ignore these arguments, export an
environment variable:
FLOCK_IGNORE_UNSUPPORTED=1
'''
import fcntl
import os
import sys
class FLock:
''' Calls the OS's flock interface
'''
def __init__(self):
self.lock_f = False
self.downstream_command = False
self.args = False
self.lockfile = " lock " self.ignore_unsupported = os.getenv( " FLOCK_IGNORE_UNSUPPORTED " , False)
self.unsupported = [ " -s " , " --shared " , " -w " , " --wait " , " --timeout " ]
def...