You know that moment โ โThe process cannot access the file because it is being used by another process.โ Which process? Windows wonโt tell you. handle.exe requires a separate download and admin rights. whoholds myapp.dll just tells you.
Works for ports too: whoholds :8080 shows whatโs binding it. Pipe the PIDs to kill them: whoholds myfile --pid-only | xargs kill. Cross-platform โ wraps lsof on Linux/macOS. Ships as a single native AOT binary, no .NET runtime needed.
Built because the โfile is lockedโ error is one of the most common and frustrating developer experiences on Windows, and the existing answer (โgo download Sysinternals handle.exe and run it as adminโ) is absurd for something the OS already knows. Part of Winix, a suite of cross-platform CLI tools for the gaps between Windows and *nix.
Discover which sneaky process is locking your file or hogging your port in a snap, making troubleshooting a breeze and freeing your resources faster than you can say whoholds!
Key features:
- ๐ต๏ธโโ๏ธ Identify file locks and port bindings instantly
- ๐ Cross-platform support for seamless use on Windows, Linux, and macOS
- โก Native binaries with no runtime dependencies for lightning-fast performance
- ๐จ Human-friendly output with color and clear error messages
This summary was generated by GitHub Copilot based on the project README.