/bare-subprocess

Native process spawning for JavaScript

Primary LanguageCApache License 2.0Apache-2.0

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