doc: typos in child_process
authorKyle Robinson Young <kyle@dontkry.com>
Sun, 15 Jun 2014 16:04:12 +0000 (09:04 -0700)
committerFedor Indutny <fedor@indutny.com>
Tue, 24 Jun 2014 16:25:26 +0000 (20:25 +0400)
Signed-off-by: Fedor Indutny <fedor@indutny.com>
doc/api/child_process.markdown

index 2ca03ed..c229fc5 100644 (file)
@@ -36,7 +36,7 @@ Emitted when:
 2. The process could not be killed, or
 3. Sending a message to the child process failed for whatever reason.
 
-Note that the `exit`-event may or may not fire after an error has occured. If
+Note that the `exit`-event may or may not fire after an error has occurred. If
 you are listening on both events to fire a function, remember to guard against
 calling your function twice.
 
@@ -610,7 +610,7 @@ output on this fd is expected to be line delimited JSON objects.
   * `stderr` {Buffer|String} The contents of `output[2]`
   * `status` {Number} The exit code of the child process
   * `signal` {String} The signal used to kill the child process
-  * `error` {Error} The error object if the child process failed or timedout
+  * `error` {Error} The error object if the child process failed or timed out
 
 `spawnSync` will not return until the child process has fully closed. When a
 timeout has been encountered and `killSignal` is sent, the method won't return