Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not responding windows 10 #60

Open
Ubspy opened this issue Jun 20, 2017 · 2 comments
Open

Not responding windows 10 #60

Ubspy opened this issue Jun 20, 2017 · 2 comments

Comments

@Ubspy
Copy link

Ubspy commented Jun 20, 2017

I've tested my code on linux, and it works great, but when I try to run the same code on windows 10, my application stops responding.

function findProcess(name, callback)
{
  ps.lookup(
  {
    command: name
  }, function(err, resultList)
  {
    if(err)
    {
      throw new Error(err);
    }

    callback(resultList.length > 0);
    
  });
}
@neekey
Copy link
Owner

neekey commented Jun 26, 2017

Hi @Ubspy thanks for you feedback! I just downloaded the Windows 10 and tested myself, and it's working, can you get into the ps module directory, and npm run test to see the result first ?

@avaer
Copy link

avaer commented Dec 28, 2017

Probably same thing as #68. If the process list is large the synchronous parse kills it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants