Get running programs name


Hello, in my app i need to get the names of the current running processes on windows, i need to check if a program is running then i need to close my program.
and idea how to do that?


As I mentioned in my other message, Electron is based on Node. Searching for “node list running processes” led me here: