diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-14 05:01:11 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-14 05:02:09 +0200 |
commit | 363723fc84f7b8477592e0105aeb331ec9a017af (patch) | |
tree | 29f92724f34131bac64d6a318dd7e30612e631c7 /node_modules/cross-spawn-async/README.md | |
parent | 5634e77ad96bfe1818f6b6ee70b7379652e5487f (diff) |
node_modules
Diffstat (limited to 'node_modules/cross-spawn-async/README.md')
-rw-r--r-- | node_modules/cross-spawn-async/README.md | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/node_modules/cross-spawn-async/README.md b/node_modules/cross-spawn-async/README.md deleted file mode 100644 index 8b3bd6983..000000000 --- a/node_modules/cross-spawn-async/README.md +++ /dev/null @@ -1,58 +0,0 @@ -# cross-spawn-async - -[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Build status][appveyor-image]][appveyor-url] [![Dependency status][david-dm-image]][david-dm-url] [![Dev Dependency status][david-dm-dev-image]][david-dm-dev-url] - -[npm-url]:https://npmjs.org/package/cross-spawn-async -[downloads-image]:http://img.shields.io/npm/dm/cross-spawn-async.svg -[npm-image]:http://img.shields.io/npm/v/cross-spawn-async.svg -[travis-url]:https://travis-ci.org/IndigoUnited/node-cross-spawn-async -[travis-image]:http://img.shields.io/travis/IndigoUnited/node-cross-spawn-async/master.svg -[appveyor-url]:https://ci.appveyor.com/project/satazor/node-cross-spawn-async -[appveyor-image]:https://img.shields.io/appveyor/ci/satazor/node-cross-spawn-async/master.svg -[david-dm-url]:https://david-dm.org/IndigoUnited/node-cross-spawn-async -[david-dm-image]:https://img.shields.io/david/IndigoUnited/node-cross-spawn-async.svg -[david-dm-dev-url]:https://david-dm.org/IndigoUnited/node-cross-spawn-async#info=devDependencies -[david-dm-dev-image]:https://img.shields.io/david/dev/IndigoUnited/node-cross-spawn-async.svg - -A cross platform solution to node's spawn. - -**This module is deprecated, use [cross-spawn](https://github.com/IndigoUnited/node-cross-spawn) instead which no longer requires a build toolchain.** - - -## Installation - -`$ npm install cross-spawn-async` - - -## Why - -Node has issues when using spawn on Windows: - -- It ignores [PATHEXT](https://github.com/joyent/node/issues/2318) -- It does not support [shebangs](http://pt.wikipedia.org/wiki/Shebang) -- It does not allow you to run `del` or `dir` -- It does not properly escape arguments with spaces or special characters - -All these issues are handled correctly by `cross-spawn-async`. -There are some known modules, such as [win-spawn](https://github.com/ForbesLindesay/win-spawn), that try to solve this but they are either broken or provide faulty escaping of shell arguments. - - -## Usage - -Exactly the same way as node's [`spawn`](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options), so it's a drop in replacement. - -```javascript -var spawn = require('cross-spawn-async'); - -var child = spawn('npm', ['list', '-g', '-depth', '0'], { stdio: 'inherit' }); -``` - - -## Tests - -`$ npm test` - - -## License - -Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php). |