Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Node.js 0.12 childProcess.execFileSync() ponyfill

License

Notifications You must be signed in to change notification settings

sindresorhus/exec-file-sync

Repository files navigation

Deprecated

This package is no longer relevant as Node.js 0.12 is unmaintained.


exec-file-sync Build Status

Node.js 0.12 childProcess.execFileSync() ponyfill

Doesn't require node-gyp compilation or anything like that.

Install

$ npm install --save exec-file-sync

Usage

var execFileSync = require('exec-file-sync');

console.log(execFileSync('echo', ['unicorn']).toString().trim());
//=> 'unicorn'

License

MIT © Sindre Sorhus