Fix: use pipe to spawn child process to re-enable file logging (#4293)
We pipe the child's stdout and stderr to the log file (and to the parent's streams) but since we used `inherit` for `stdio` this caused the child to use the parent's streams directly which made `child.stdout` and `child.stderr` non-existent and thus we had no file logging. Using `pipe` creates stdin and stderr on the child.
T
Tian Jian committed
59f667ec146abef3839a80d2117fb616bc51a59d
Parent: 8a4ed5a
Committed by GitHub <noreply@github.com>
on 10/5/2021, 3:55:40 PM