Use import for child_process.spawn
Format rejection errors.
When pipe is called with no arguments, defaults to proces.stdout and stderr.