Skip to content

Not working in production #14

Description

@black-snow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions