Skip to content

Syntax errors in the Python source files give exit code 2 when they should give 1 as exit code #19807

@wyattscarpenter

Description

@wyattscarpenter

Syntax errors in the Python source files give 2 when they should give 1, as exit code. 1 means the files have a problem, while 2 should mean a usage error.

I haven't verified myself where this is a problem; at the moment I'm relying on second-hand info from @sterliakov

Originally posted by @wyattscarpenter in #19548

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions