find-process icon indicating copy to clipboard operation
find-process copied to clipboard

Provide port details (if binded) for find process PID

Open ghost opened this issue 4 years ago • 0 comments

Hi, regarding to the subject that was also discussed in #28 , any workarounds / future PR for that ?

The most naive solution might be to create the following flow:

the caller runs findProcess('pid',) in find_process.js before returning the now found process details, Check if finders[find] returned response with process details, Then for the fetched process, run the commands logic implemented in find pid by port but instead of matching the port in if (matches && matches[1] === String(port)) match the pid then return the data received by concat both of the results

ghost avatar May 02 '20 14:05 ghost