proc-spawn

Wrapper around node's child_process.spawn


Keywords
spawn, process, gulpplugin
License
Xnet
Install
npm install proc-spawn@1.0.0

Documentation

proc-spawn

Wrapper around node's child_process.spawn

INSTALL

npm i proc-spawn --save-dev

USAGE

var procSpawn = require("proc-spawn");
procSpawn("ls", ["-la"]);

Gulp example:

const gulp = require("gulp");
const procSpawn = require("proc-spawn");

gulp.task("hello", () => {
    return procSpawn("echo", ["hello world"]);
});