Skip to content

rfbrowser --version fails with exception from  #3600

@rasjani

Description

@rasjani

when running rfbrowser --version in the shell, command throws exception from subprocess.run() from get_rf_version().

https://github.com/MarketSquare/robotframework-browser/blame/main/Browser/entry/__main__.py#L233

This call has check=True which makes subprocess to throw exception when exit code is non-zero.

Accorrding to https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#return-codes

When user runs robot --version, exit code is explicitly set to 251 and thus, using check=True causes the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions