withlist/run.py: New: Run a command with locking list