Skip to content

Pre commands inherit stderr from main process#272

Open
gramosg wants to merge 1 commit intomaaslalani:mainfrom
gramosg:inherit_stderr
Open

Pre commands inherit stderr from main process#272
gramosg wants to merge 1 commit intomaaslalani:mainfrom
gramosg:inherit_stderr

Conversation

@gramosg
Copy link

@gramosg gramosg commented Nov 9, 2023

This has two main benefits:

  1. Errors during preprocessing are now visible (not on the slides
    themselves but back on the console after exiting), which helps with
    debugging.
  2. Subprocesses are able to do fine-grained formatting, as terminfo
    commands now work properly. For example, tput cols and tput lines
    now return the correct terminal size instead of the defalt 80x24.
This has two main benefits: 1) Errors during preprocessing are now visible (not on the slides themselves but back on the console after exiting), which helps with debugging. 2) Subprocesses are able to do fine-grained formatting, as terminfo commands now work properly. For example, `tput cols` and `tput lines` now return the correct terminal size instead of the defalt 80x24.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant