lockholder

command
v0.0.71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Command lockholder holds an exclusive flock on a path so tty-watch doctests can assert registry-lock-busy diagnostics against a known holder PID/command.

Usage:

lockholder <lock-path> <marker>

Prints the holder PID on stdout (single line), then keeps the flock until killed. Also spawns a long-lived child (`lockholder --child <marker>-child`) so process-tree diagnostics can show children of the holder.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL