system3

system(3) emulation for node.js

node-system3

Executes shell commands synchronously.

var system3 = require('system3');

system3.system('ls');

// capture stdout
var out = system3.qx('ls');
console.log(out);
npm install system3

Run the command with shell. This method doesn't pipes any input/output.

Run the command with shell. This method captures stdout from the command. And return it.

This module uses popen(3), pclose(3). It's in POSIX.1-2001.

It does not contain english docs.

It works. But it depended on ffi. And .code does not works.