Skip to content

A wrapper on node's native child_process, allowing to elevate (run as aminstrator) exec, spawn and fork from a non-elevated process, offering stdin, stdout and stderr on the elevated process

License

ErAz7/elevated-process

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-shield

elevated-process

A small wrapper on node's native child_process. It can start an elevated child process (run as aminstrator) using spawn, exec, fork, spawnSync or execSync from a non-elevated process; offering stdin, stdout and stderr on the elevated process

Installation

npm i elevated-process

or

yarn add elevated-process

Platforms

windows macos linux
   ✔     ❌  ❌

Usage

This package uses the exact same API as node.js native child_process API, supporting spawn, exec, fork, spawnSync and execSync

This package uses gsudo internally to elevate commands on windows

About

A wrapper on node's native child_process, allowing to elevate (run as aminstrator) exec, spawn and fork from a non-elevated process, offering stdin, stdout and stderr on the elevated process

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published