Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subcmd exec and signal handling #1925

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

th1000s
Copy link
Collaborator

@th1000s th1000s commented Dec 9, 2024

  • handle signals and SIGPIPE like other unix utils
    "No exit code" means a signal was delivered. Also don't exit
    with 0 anymore if input processing was interrupted (BrokenPipe).

  • misc small subcommand touch-ups

  • exec a subcommand directly if not writing to a terminal

  • main: switch subcommand and pager creation around
    See the following commit

  • make stdout_is_term available in the config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant