Skip to content

Unified 'exit' as 'sys.exit' in the code to improve cross platform compatibility #1185

@fcwys

Description

@fcwys

Unified exit as sys. exit in the code to improve cross platform compatibility,due to the special working environment, it is not possible to install mycli using pip. When using pyinstaller to package as binary, the exit error in main.py is reported. After modifying it to sys. exit, it works normally. Test commands such as mycli.exe -uroot -proot -e "select version();"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions