Skip to content

4.x helidon.bat does not propagate exit codes #1137

@romain-grecourt

Description

@romain-grecourt

Description

CLI execution errors are not propagate on windows when using helidon.bat from the generic distribution.

Steps to reproduce

C:\>helidon.bat xyz
error: 'xyz' is not a valid command.
See 'helidon --help' for more information

C:\>echo %ERRORLEVEL%
0

This will need to be backported against 3.x, as the current release of the cli is 3.0.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    4.xbugSomething isn't workingcli

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions