0.0.1 • Published 11 years ago

spawny v0.0.1

Weekly downloads
5
License
-
Repository
github
Last release
11 years ago

spawny Build Status

A small wrapper around child_process.spawn with some helpful features.

Getting Started

Install the module with: npm install spawny

var spawny = require('spawny');
spawny('npm version patch', true, cb);

Usage

spawny(command, useCmdify, callback)

Arguments

  • command - The command that you would type into the terminal
  • useCmdify - whether cmdify should be called on the command (required for some scripts to work on windows). Defaults to false.
  • callback - the callback to be called when the process terminates

Features

  • Pipes stdio into child process
  • Simplifies API (at cost of flexibility)

License

Copyright (c) 2013 Daniel Chatfield. Licensed under the MIT license.

0.0.1

11 years ago