mirror of https://github.com/nodejs/node.git
doc: add spaces to child.kill example
PR-URL: https://github.com/iojs/io.js/pull/1503 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>pull/1503/merge
parent
26327757f8
commit
b16a328ede
|
@ -192,7 +192,7 @@ be sent `'SIGTERM'`. See `signal(7)` for a list of available signals.
|
||||||
grep = spawn('grep', ['ssh']);
|
grep = spawn('grep', ['ssh']);
|
||||||
|
|
||||||
grep.on('close', function (code, signal) {
|
grep.on('close', function (code, signal) {
|
||||||
console.log('child process terminated due to receipt of signal '+signal);
|
console.log('child process terminated due to receipt of signal ' + signal);
|
||||||
});
|
});
|
||||||
|
|
||||||
// send SIGHUP to process
|
// send SIGHUP to process
|
||||||
|
|
Loading…
Reference in New Issue