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 working in production #14

Open
black-snow opened this issue Dec 8, 2016 · 0 comments
Open

Not working in production #14

black-snow opened this issue Dec 8, 2016 · 0 comments

Comments

@black-snow
Copy link

black-snow commented Dec 8, 2016

Everything runs fine in development but my production version doesn't work. The auth prompt pops up but nothing happens after that.

Tried to get a result with Promise and Callback but nothing seems to be returned.

sudo.exec('sc start "Some Service"').then(r => console.log(r)).catch(e => console.log(e))
or
sudo.exec('sc start "Some Service"', null, (e, r) => console.log(e, r))

Win10 64bit, annyversary

/edit: there seem to be some hanging cmd processes popping up and disappearing again ... eating up my cpu
Hard to debug - switching to windows-elevate for now.

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

1 participant