1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2025-01-14 03:38:45 +00:00
code-server-2/src
Tian Jian 59f667ec14
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.
2021-10-05 10:55:40 -05:00
..
browser Refactor vscode endpoints to use fork directly. 2021-09-30 19:14:17 -04:00
common Refactor vscode endpoints to use fork directly. 2021-09-30 19:14:17 -04:00
node Fix: use pipe to spawn child process to re-enable file logging (#4293) 2021-10-05 10:55:40 -05:00