Skip to content

Api reference childprocess

MarkR42 edited this page May 20, 2013 · 1 revision

Module: child_process

The child_process module allows you to invoke subprocesses and communicate with them via stdin / stdout / stderr. This is useful for tasks such as printing, sending mail, or invoking scripts or programs written in another language (not Javascript).

FIXME: this documentation is incomplete.

See examples/child_process.js.

var child_process = require("child_process");
child_process.spawn("ls",  ["-lF", "/rooot"]);
Clone this wiki locally