Skip to content

ctrl -c support doesn't exit gracefully #1

Description

@ManuelMeraz

When running any of the pycommon python scripts and we are witing for user input, we need to handle the ctrl+c exceptions and exit the program gracefully.

try:
   var = input(...)
except KeyboardInterrupt:
    sys.exit(1)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions