angular-docs-cn/dev-infra/release/publish
Paul Gschwendtner 21c2a06811 fix(dev-infra): spawned child processes messing with tty output (#41948)
Currently we have a common utility method for running commands
in a child process. This method pipes all stdout and stderr, but sets
the `stdin` to `inherited`. This seemed to work as expected in terms of
allowing interactive commands being executed, but it messes with the
TTY in Windows (and potentially other platforms) so that colors and
prompts no longer work properly. See attached screenshot.

We fix this by not inheriting the stdin by default; but exposing
a dedicated method for interactive commands. This results in more
readable and obvious code too, so it's worth making this change
regardless of the TTY issues.

PR Close #41948
2021-05-05 13:45:28 -07:00
..
actions fix(dev-infra): do not set lts dist tag on packages from release-candidate train (#41946) 2021-05-04 21:07:57 -07:00
release-notes refactor(dev-infra): use a singleton for GitClient (#41515) 2021-04-12 16:43:54 -07:00
test fix(dev-infra): do not set lts dist tag on packages from release-candidate train (#41946) 2021-05-04 21:07:57 -07:00
BUILD.bazel feat(dev-infra): create ReleaseNotes class for generating release notes during publishing (#41476) 2021-04-09 07:49:48 -07:00
actions-error.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
actions.ts refactor(dev-infra): use a singleton for GitClient (#41515) 2021-04-12 16:43:54 -07:00
cli.ts refactor(dev-infra): remove unused argument from `publish` script (#41688) 2021-04-19 08:28:34 -07:00
commit-message.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
constants.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
external-commands.ts fix(dev-infra): clear cached bazel outputs before building artifacts for publishing (#41000) 2021-02-26 15:16:01 -08:00
graphql-queries.ts feat(dev-infra): tool for staging and publishing releases (#38656) 2020-09-28 16:11:42 -04:00
index.ts fix(dev-infra): spawned child processes messing with tty output (#41948) 2021-05-05 13:45:28 -07:00
pull-request-state.ts refactor(dev-infra): use a singleton for GitClient (#41515) 2021-04-12 16:43:54 -07:00