BufferedNodeProcess
Description
Like BufferedProcess, but accepts a Node script as the command to run.
This is necessary on Windows since it doesn't support shebang #! lines.
Examples
const {BufferedNodeProcess} = require('atom')
API documentation
All methods
::constructor(options)
Runs the given Node script by spawning a new child process.
| Argument | Description |
|---|---|
options
|
An Object with the following keys: |
command
|
The String path to the JavaScript script to execute. |
args
|
The Array of arguments to pass to the script (optional). |
options
|
The options Object to pass to Node's
|
stdout
|
The callback Function that receives a single argument which
|
stderr
|
The callback Function that receives a single argument which
|
exit
|
The callback Function which receives a single argument
|