JSPM

  • Created
  • Published
  • Downloads 19213
  • Score
    100M100P100Q147973F
  • License Apache-2.0

Native process spawning for JavaScript

Package Exports

  • bare-subprocess
  • bare-subprocess/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bare-subprocess) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

bare-subprocess

Native process spawning for JavaScript.

npm i bare-subprocess

Usage

const { spawn } = require('bare-subprocess')

const subprocess = spawn('echo', ['hello', 'world'], {
  stdio: 'inherit'
})

subprocess.on('exit', () => console.log('done'))

License

Apache-2.0