* **Node.js Version**: 7.9.0 * **OS**: Windows 10 * **Scope (install, code, runtime, meta, other?)**: runtime * **Module (and version) (if relevant)**: `child_process` Is there a race condition here? const proc = cp.spawn(...); proc.on("error", (err) => throw err); What would happen if the process failed to spawn before we added the `error` handler? Would we never get the error? I suppose the solution is to ping the process to test that it's alive.