Skip to content

Commit b2a9b96

Browse files
committed
More description
1 parent 87c917f commit b2a9b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

child-processes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ ls.on('close', (code) => {
7777
```
7878
</div>
7979

80-
In this example we are listening to the `stout` and `stderr` streams for `data` events, as well as listening for a `close` event.
80+
In this example we are listening to the `stout` and `stderr` streams for `data` events, as well as listening for a `close` event. In contrast, the `exec` method uses a callback which buffers the streams to strings and an error object.
8181

8282
# spawn using pipes
8383

0 commit comments

Comments
 (0)