system3

1.0.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    0

Package Sidebar

Install

npm i system3

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • tokuhirom