windows-process-info
v1.0.0
Published
Checks if a specific process is running on Windows
Downloads
3
Readme
windows-process-info
Easily check if a process with a given name is running on Windows. Should take <10ms to execute for both existing and non-existing processes, which makes it much faster than any execSync()
hacks.
npm install windows-process-info
const { isProcessRunning } = require('windows-process-info`)
const isVisualStudioCodeRunning = isProcessRunning('Code.exe')
Please note that process names are case-sensitive.
License
MIT, please see LICENSE for details. Copyright (c) 2024 Felix Rieseberg.