Rob-- / memoryjs

Read and write process memory in Node.js (Windows API functions exposed via Node bindings)
MIT License
632 stars 86 forks source link

Feature: Open process using th32ProcessID instead of process name(multiple processes same name) #116

Closed tigohenryschultz closed 5 months ago

tigohenryschultz commented 9 months ago

I would like to open multiple processes with the same name but do not see any methods to accomplish this.

Thanks

prevzzy commented 7 months ago

you can already do this, just pass PID instead of process name to openProcess function.

https://github.com/Rob--/memoryjs/commit/e8ec257c95b44546c56f76c12dc78298cd4eaf07

Rob-- commented 5 months ago

Thanks @prevzzy