# runas-redux-rus

> ![Node.js CI](https://github.com/N-Blade/node-runas-redux/workflows/Node.js%20CI/badge.svg)

Latest version **5.0.17** (published 2022-10-26) · 0 weekly downloads

## Install

```sh
npm install runas-redux-rus
pnpm add runas-redux-rus
yarn add runas-redux-rus
bun add runas-redux-rus
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.0.17 |
| Published | 2022-10-26 |
| First published | 2021-12-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 22 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Maintainers | kyoto44 |

## Links

- npm: https://www.npmjs.com/package/runas-redux-rus
- Repository: https://github.com/N-Blade/node-runas-redux
- Homepage: https://github.com/N-Blade/node-runas-redux#readme
- Issues: https://github.com/N-Blade/node-runas-redux/issues
- npm.io page: https://npm.io/package/runas-redux-rus

## Dependencies (4)

- [node-abi](https://npm.io/package/node-abi.md) ^3.28.0
- [prebuild](https://npm.io/package/prebuild.md) ^11.0.4
- [node-addon-api](https://npm.io/package/node-addon-api.md) ^5.0.0
- [prebuild-install](https://npm.io/package/prebuild-install.md) ^7.1.1

## Recent versions

- 5.0.17 (latest) — 2022-10-26
- 5.0.16 — 2022-10-26
- 5.0.15 — 2022-07-17
- 5.0.14 — 2022-07-06
- 5.0.13 — 2022-07-06
- 5.0.10 — 2022-04-15
- 5.0.9 — 2022-04-15
- 5.0.8 — 2022-04-08
- 5.0.5 — 2022-04-08
- 5.0.4 — 2022-02-14
- 5.0.3 — 2022-02-14
- 5.0.2 — 2021-12-14
- 5.0.1 — 2021-12-14
- 5.0.0 — 2021-12-14

## README

# Runas Redux

![Node.js CI](https://github.com/N-Blade/node-runas-redux/workflows/Node.js%20CI/badge.svg)

Run command synchronously with administrator privilege.

> This is an N-API based rewrite that adds compatibility with modern NodeJS versions.


## Installing

```sh
npm install runas-redux-rus
```

## Building
  * Clone the repository
  * Run `npm install`
  * Run `node-gyp configure`
  * Run `node-gyp build`

## Docs

```js
const runas = require('runas-redux-rus')
```

### runas(command, args[, options])

* `options` Object
  * `hide` Boolean - Hide the console window, `true` by default.
  * `admin` Boolean - Run command as administrator, `false` by default.
  * `catchOutput` Boolean - Catch the stdout and stderr of the command, `false`
    by default.
  * `stdin` String - String which would be passed as stdin input.

Launches a new process with the given `command`, with command line arguments in
`args`.

This function is synchronous and returns the exit code when the `command`
finished.

When the `catchOutput` option is specified to `true`, an object that contains
`exitCode`, `stdout` and `stderr` will be returned.

## Limitations

* tell me? :)

---
_Source: https://npm.io/package/runas-redux-rus · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
