Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-exec-file

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-exec-file

Promisify execFile

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
87
increased by1.16%
Maintainers
1
Weekly downloads
 
Created
Source

get-exec-file Build Status

Promisify execFile

Install

$ npm install --save get-exec-file

Usage

const execFile = require('get-exec-file');

execFile('./cli.js', ['foo', 'bar']).then(result => {
	//=> {stdout: 'foo', stderr: 'bar'}
});

API

execFile(file[, args][, options])

file

Required
Type: string

The filename of the program to run.

args

Type: string[]

Array List of string arguments.

options

Type: object

Options object of execFile.

License

MIT © Sam Verschueren

Keywords

FAQs

Package last updated on 30 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc