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.
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.
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-elevatefor now.