Skip to content

Consider adding support for dealing with exit codes and saving the output of commands to a file #4

@TB99930

Description

@TB99930

Using pyproject-runner in CI, I'd like to capture the output of commands that don't natively support output to a file (specifically pyright). Normally, this would be a shell redirect (i.e. pyright --outputjson > pyright-output.json) but pyproject-runner doesn't support shell redirection syntax for obvious reasons. This could be handled within pyproject-runner by saving the output to a file as a configuration option. Other tools output an exit code and dealing with those would also be useful (e.g. ruff format --check).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions