Skip to content

Non-zero exit code for errors on CLI #194

@Glitch752

Description

@Glitch752

Would it be beneficial to return a non-zero exit code when there is an error on the non-interactive CLI mode? I attempted to use it for my application launcher, but needed to make a wrapper program because there's no easy way to tell if the output is an error. Additionally, it may be helpful to add a parameter that guarantees the CLI will print the output without any added formatting and the > prompt message (or only print prompts when providing more than one expression?).

Thank you so much for this program!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions