# @deployable/run

> run a process

Latest version **0.0.1** (published 2017-04-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install @deployable/run
pnpm add @deployable/run
yarn add @deployable/run
bun add @deployable/run
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-04-09 |
| First published | 2017-04-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Matt Hoyle |
| Maintainers | deployable |

## Links

- npm: https://www.npmjs.com/package/@deployable/run
- Repository: https://github.com/deployable/node-deployable-run
- Homepage: https://github.com/deployable/node-deployable-run#readme
- Issues: https://github.com/deployable/node-deployable-run/issues
- npm.io page: https://npm.io/package/@deployable/run

## Recent versions

- 0.0.1 (latest) — 2017-04-09

## README

Run a process, store it's output, log things

```javascript
const Promise = require('bluebird')
const {Run, RunRcError, RunError} = require('../run')

function genRunCmd(...cmd){
  return function(){
    return Run.fullLog(...cmd)
      .catch(RunRcError, err => console.error('Bad rc %s', err.results.exit_code))
      .catch(RunError, err => console.error('RunError: ', err))
      .catch(err => console.error('Error: ', err ))
  }
}

genRunCmd('ls')()
  .then(genRunCmd('wc','-c','/etc/passwd'))
  .then(genRunCmd('ls','-al'))
  .then(genRunCmd('ls','whatever'))
  .then(genRunCmd('lsa','broke'))
  .then(genRunCmd('ls','sp ace', {ignore_rc:true}))

```

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