projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23dc099
)
doc: fix bug in child_process.spawn() sample code
author
Mike Morearty
<mike@morearty.com>
Fri, 13 Jul 2012 21:18:52 +0000
(14:18 -0700)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Mon, 16 Jul 2012 00:27:01 +0000
(
02:27
+0200)
doc/api/child_process.markdown
patch
|
blob
|
history
diff --git
a/doc/api/child_process.markdown
b/doc/api/child_process.markdown
index
99f72db
..
6439fce
100644
(file)
--- a/
doc/api/child_process.markdown
+++ b/
doc/api/child_process.markdown
@@
-306,7
+306,7
@@
Example: A very elaborate way to run 'ps ax | grep ssh'
});
grep.stdout.on('data', function (data) {
- console.log(data);
+ console.log(
'' +
data);
});
grep.stderr.on('data', function (data) {