--- layout: docs title: BufferedProcess edit_url: "https://github.com/nylas/N1/blob/master/src/buffered-process.coffee" ---
A wrapper which provides standard error/output line buffering for Node's ChildProcess.
Runs the given command by spawning a new child process.
Argument | Description |
---|---|
options |
An Object with the following keys: |
Will call your callback when an error will be raised by the process.
Usually this is due to the command not being available or not on the PATH.
You can call handle()
on the object passed to your callback to indicate
that you have handled this error.
Argument | Description |
---|---|
callback |
Function callback |
Return Values |
---|
Returns a {Disposable} |
Terminate the process.