Skip to content

Instantly share code, notes, and snippets.

@unlight
Created April 15, 2022 19:47
Show Gist options
  • Save unlight/e43a1f2551bb628132d41b2c615807dc to your computer and use it in GitHub Desktop.
Save unlight/e43a1f2551bb628132d41b2c615807dc to your computer and use it in GitHub Desktop.
node-dev-kill.cmd
@rem WMIC PROCESS WHERE "COMMANDLINE LIKE '%node-dev%'" get processId,name,commandline /format:list
@echo off
WMIC PROCESS WHERE "COMMANDLINE LIKE '%%node-dev%%'" CALL TERMINATE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment