Share your code.
A small wrapper around child_process.spawn with some helpful features.
Install the module with:
npm install spawny
var spawny = ;;
spawny(command, useCmdify, callback)
- command - The command that you would type into the terminal
- useCmdify - whether
cmdifyshould 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
- Pipes stdio into child process
- Simplifies API (at cost of flexibility)
Copyright (c) 2013 Daniel Chatfield. Licensed under the MIT license.