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

@brandonocasey/spawn-promise

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

@brandonocasey/spawn-promise

A wrapper around spawn that returns a promise with the similar output to spawnSync.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@brandonocasey/spawn-promise

A wrapper around spawn that returns a promise with the similar output to spawnSync.

  • Installation
  • Usage
  • Support

Installation

Install @brandonocasey/spawn-promise and in-publish via npm

$ npm install --save-dev @brandonocasey/spawn-promise in-publish

Usage

Similar to child_process.spawnSync except we return a promise and use child_process.spawn internally. See the return value of childProcess.spawnSync for what the promise will be resolved with. In addion to the usual return values we also add in stdin and combined. combined is mixed stdout/stderr output.

Support

Currently we support 1 to 1 the spawn API from child_process, but signals, killing, and stdin support has not been tested.

Keywords

FAQs

Package last updated on 18 Aug 2021

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