Skip to content

About

Native process spawning for JavaScript

Resources

Stars

5 stars

Watchers

6 watching

Forks

Repository files navigation

bare-subprocess

Native process spawning for JavaScript. Spawn child processes with full control over their stdio, environment, and working directory, and exchange messages with them over an IPC channel.

npm i bare-subprocess

Usage

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

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

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

API

See the bare-subprocess reference.

License

Apache-2.0

About

Native process spawning for JavaScript

Resources

Stars

5 stars

Watchers

6 watching

Forks

Releases

Used by

Contributors

Languages