2 ms·
Windows has somewhat stripped down versions of the same kind of commandline process management: tasklist | findstr chrome.exe taskkill /IM chrome.exe /F
by AnIdiotOnTheNet 5y ago
Windows has somewhat stripped down versions of the same kind of commandline process management:
tasklist | findstr chrome.exe
taskkill /IM chrome.exe /F
taskkill /PID <pid> /F
- newsclues 5y agoSome people dislike windows but haven’t experienced modern niceties like powershell I doesn’t totally suck
- tialaramex 5y agoI expected to like Powershell, but I came away even less happy in Powershell than trying to program bash. It felt so much as though it had been built by aliens who'd watched a video of Unix shell programming and integrated their own strange preferences, while also stirring in things from Windows. At the end of a week's work, I had a script which worked on my system, but blew up on the production systems it was intended for, and although we eventually worked around the stupid problem I want nothing further to do with that work. I co-own the far larger C# project it's associated with despite never having written C# a year ago, C# feels like a nice but slightly boring modern language, I probably wouldn't choose to write it for pleasure, but I don't hate getting paid to do so. However I seriously regret assuming that it was worth writing the "obviously just a script" part in Powershell rather than wrapping it all in C# and having the "script" just run that. So, maybe it "doesn't totally suck" but it sure does suck pretty badly.