summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2020-04-15 11:05:41 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2020-04-15 12:47:41 -0700
commit430ca7c7cf46b415b58f45057626c4e1b7d36c56 (patch)
treea519922b8a55d551b3d14c5e98cb68ae1f11777a /CHANGELOG.md
parent55f5afaf3c5369ef80d111f2323da5bb496abc9d (diff)
downloadspack-430ca7c7cf46b415b58f45057626c4e1b7d36c56.tar.gz
spack-430ca7c7cf46b415b58f45057626c4e1b7d36c56.tar.bz2
spack-430ca7c7cf46b415b58f45057626c4e1b7d36c56.tar.xz
spack-430ca7c7cf46b415b58f45057626c4e1b7d36c56.zip
`spack install` terminal output handling in foreground/background (#15723)
Makes the following changes: * (Fixes #15620) tty configuration was failing when stdout was redirected. The implementation now creates a pseudo terminal for stdin and checks stdout properly, so redirections of stdin/out/err should be handled now. * Handles terminal configuration when the Spack process moves between the foreground and background (possibly multiple times) during a build. * Spack adjusts terminal settings to allow users to to enable/disable build process output to the terminal using a "v" toggle, abnormal exit cases (like CTRL-C) could leave the terminal in an unusable state. This is addressed here with a special-case handler which restores terminal settings. Significantly extend testing of process output logger: * New PseudoShell object for setting up a master and child process and configuring file descriptor inheritance between the two * Tests for "v" verbosity toggle making use of the added PseudoShell object * Added `uniq` function which takes a list of elements and replaces any consecutive sequence of duplicate elements with a single instance (e.g. "112211" -> "121") Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions