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