Syntax

Remarks

When dealing with child processes, all of the asynchronous methods will return an instance of [ChildProcess](<https://nodejs.org/api/child_process.html#child_process_class_childprocess>), while all the synchronous versions will return the output of whatever was run. Like other synchronous operations in Node.js, if an error occurs, it will throw.