[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/2025-10-29 15:57 -  
[DIR]lib/2025-10-29 15:57 -  
[DIR]examples/2025-10-29 15:57 -  
[   ]package.json2025-10-29 15:57 351  
[TXT]README.md2025-10-29 15:57 534 38d15e7 removed strapi.query from api controllers to repair migration on dev server? [كارل مبارك]
[   ]LICENSE2025-10-29 15:57 1.0K 
# spawn-command [![Build Status](https://secure.travis-ci.org/mmalecki/spawn-command.png)](http://travis-ci.org/mmalecki/spawn-command)
Spawn commands like `child_process.exec` does but return a `ChildProcess`.

## Installation

    npm install spawn-command

## Usage
```js
var spawnCommand = require('spawn-command'),
    child = spawnCommand('echo "Hello spawn" | base64');

child.stdout.on('data', function (data) {
  console.log('data', data);
});

child.on('exit', function (exitCode) {
  console.log('exit', exitCode);
});
```