# simple-command

> Simply start a new process from a Node script.

Latest version **0.2.0** (published 2015-01-02) · ISC license · 0 weekly downloads

## Install

```sh
npm install simple-command
pnpm add simple-command
yarn add simple-command
bun add simple-command
```

## 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.2.0 |
| Published | 2015-01-02 |
| First published | 2014-12-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sean P Kennedy |
| Maintainers | seanpkps |
| Keywords | cli, command, spawn, invoke, shell, script |

## Links

- npm: https://www.npmjs.com/package/simple-command
- Repository: https://github.com/PointSource/simple-command
- Issues: https://github.com/PointSource/simple-command/issues
- npm.io page: https://npm.io/package/simple-command

## Dependencies (1)

- [simple-log-tee](https://npm.io/package/simple-log-tee.md) ^0.2.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2015-01-02
- 0.1.2 — 2014-12-30
- 0.1.1 — 2014-12-30
- 0.1.0 — 2014-12-23

## README

# simple-command

Simply start a new process from a Node script.

## usage

Get it: `npm install --save simple-command`

Use it:

```javascript
var SimpleCommand = require('simple-command');

var greptest = new SimpleCommand('grep', ['sh', '-r', '/usr/bin'], '/');
greptest.run(function () {
	greptest.setOptions({
		record: 'greptest-console-output-copy.txt',
		redirect: 'greptest-command-output.txt',
		progress: 5
	});
	greptest.run();
});

var npmupdate = new SimpleCommand('npm', ['update'], './');
npmupdate.run({record: 'copy-of-npm-output.txt'}, function (code) {
	console.log('complete with return code', code);
});
```
## docs

[Generated API docs](docs/md/SimpleCommand.md)

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