1.0.3 • Published 4 years ago
elevated-process v1.0.3
elevated-process
A small wrapper on node's native
child_process. It can start an elevated child process (run as aminstrator) usingspawn,exec,fork,spawnSyncorexecSyncfrom a non-elevated process; offering stdin, stdout and stderr on the elevated process
Installation
npm i elevated-processor
yarn add elevated-processPlatforms
![]() | ![]() | ![]() |
|---|---|---|
| ✔ | ❌ | ❌ |
Usage
This package uses the exact same API as node.js native child_process API, supporting spawn, exec, fork, spawnSync and execSync
gsudo
This package uses gsudo internally to elevate commands on windows


