Commit 233603a
fix: properly handle child process stdio chunking (#409)
* fix: properly handle child process stdio chunking
Converting individual chunks from UTF-8 to JS strings
is problematic because it does not handle UTF-8 characters
that are split across chunks properly.
Use the proper way of reading string data from streams instead.
* fix: update bufHandler after main merge
---------
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>1 parent 0ad8e20 commit 233603a
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments