Commit 5729b43
Just: flush the account of what runs before a child writes over it
`error` says why already: the streams are buffered differently when they are
not both a terminal. The same holds where a child inherits this process' stdout,
and there it was missed, so off a terminal the buffer flushed at exit and every
account of what was about to run landed after the output it described. Visible
only in redirected runs, which is to say in logs and never interactively.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent ff34138 commit 5729b43
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
320 | 323 | | |
321 | 324 | | |
322 | 325 | | |
| |||
0 commit comments