Skip to content

Is it possible to get different "exit code" ? #316

Open
@jeromecoutant

Description

@jeromecoutant

Is your feature request related to a problem? Please describe.

Goal is to use `mbedtools compile xxx`` commands in scripts.

It seems that "exit code" is currently 0 when it is successful, 1 in case of issue.

Describe the solution you'd like

Do you think it is possible to have more error codes ?

  • 1 would be the default error code
  • 2 for issue in mbed_validate_application_profile function?
  • 3 in case of CMakeLists.txt configuration issue?
  • etc...

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions