Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 567 Bytes

File metadata and controls

14 lines (11 loc) · 567 Bytes

execCommand NPM version execcommand API Documentation

A very simple wrapper for executing a system command in NodeJS, synchronously!

The wrapper is using https://github.com/hecomi/node-execsync.

Example

var execCommand = require("execCommand.js");
var command = execCommand("cat /sys/class/thermal/thermal_zone0/temp");
console.log(command);