You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: child-processes/index.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ ls.on('close', (code) => {
77
77
```
78
78
</div>
79
79
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.
0 commit comments