JSPM

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

Native process spawning for JavaScript

Package Exports

  • bare-subprocess
  • bare-subprocess/constants
  • bare-subprocess/errors
  • bare-subprocess/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