cklutz / LockCheck

Uses platform APIs to find processes locking one or multiple files (Windows - Restart Manager or NTDLL)
MIT License
106 stars 20 forks source link

dotnet tool? #10

Open KirillOsenkov opened 3 weeks ago

KirillOsenkov commented 3 weeks ago

@cklutz once again thank you for creating this indispensable library!

Have you thought about publishing a dotnet global tool like lockcheck.exe such that you could run it from command line?

Long ago this used to be a console .exe project, but now it seems to be a library only?

KirillOsenkov commented 3 weeks ago

I pushed a branch in my fork if you're interested: https://github.com/KirillOsenkov/LockCheck/tree/tool

KirillOsenkov commented 3 weeks ago

I published https://www.nuget.org/packages/lockchecktool and added you as an owner if you're interested. Happy to make a PR to this repo too.

KirillOsenkov commented 3 weeks ago

There you go!

image

cklutz commented 2 weeks ago

Oh yes, nice idea. Haven't thought about that. Go figure! :-)

I'm a bit busy for the next couple of weeks, but after that (or before, if possible at all), I'd gladly like to merge a PR. Thanks for the ownership offer. I accepted it in the hopes I can provide some value eventually.

KirillOsenkov commented 2 weeks ago

Here you go: https://github.com/cklutz/LockCheck/pull/11

no rush!