sindresorhus/fkill

Confirm processes are no longer visible before returning

sindresorhus opened this issue · 1 comments

See the initial attempt and feedback in #37.

Sir, why this change is not merged?
I am trying to fix my app crashing because "chrome.exe" does not exists when trying to kill Puppeteer so i used:

if (await processExists("chrome.exe"))
      fkill("chrome.exe", { force: true });

Similar to you. But still i get errors that fkill is trying to close process that does not exist. Why?