rex-exec

A small set of functions designed to provide a simple way to execute shell commands and process the output.

rex-exec

A small set of functions designed to provide a simple way to execute shell commands and process the output.

rexec(dir, command, done)

Accepts one callback

done(stderr, stdout)
rexec(command, done)

Accepts one callback

done(stderr, stdout)
rexec(commands, done, each)

Accepts two callbacks:

done(output)
each(stderr, stdout)
rexec.batch(dir, commands, done, each)

Accepts two callbacks:

done(output)
each(stderr, stdout)

MIT License, 2013

Pierce Moore rex me@prex.io