Runas-win
Promise for run command with administrator privilege and hide mode.
Installing
npm install runas-win
Use
;
runasPromise(command, args[, options])
options
Objecthide
Boolean - Hide the console window,true
by default.admin
Boolean - Run command as administrator,false
by default.