Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
C++ JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
test
.gitignore
.travis.yml
Changes
README.md
addon.cc
binding.gyp
index.js
package.json

README.md

node-system3

Executes shell commands synchronously.

SYNOPSIS

var system3 = require('system3');

system3.system('ls');

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

INSTALLATION

npm install system3

METHODS

system3.system(command)

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

var out = system3.qx(command)

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

PORTABILITY

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

SEE ALSO

https://github.com/hecomi/node-execSync

It does not contain english docs.

https://github.com/mgutz/execSync

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

Something went wrong with that request. Please try again.