npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

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.

Keywords

none

install

npm i system3

Downloadsweekly downloads

4

version

1.0.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability