elevated-process

1.0.3 • Public • Published

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

gsudo

This package uses gsudo internally to elevate commands on windows

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i elevated-process

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

189 kB

Total Files

9

Last publish

Collaborators

  • eraz7