パッケージの詳細

bare-subprocess

holepunchto37.9kApache-2.05.1.1

Native process spawning for JavaScript

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