TankMasterRL / execcommand

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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);

About

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


Languages

Language:JavaScript 100.0%