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

Use Task generally over Command #232

Merged
merged 1 commit into from
Dec 18, 2023

Commits on Dec 15, 2023

  1. Use Task generally over Command

    Especially in places where we call `.output()`, what we generally
    always want is to get stdout, but keep stderr going to the
    parent process stderr.  The `Command` API doesn't make this
    obvious to do, and worse forces every caller to manually check
    the exit status.
    
    The `Task` API fixes both of these.
    
    (Now, the Task API also defaults to printing a description,
     which we need suppress in many cases with `.quiet()`)
    
    Signed-off-by: Colin Walters <walters@verbum.org>
    cgwalters committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    d749a03 View commit details
    Browse the repository at this point in the history