Skip to content

ctrl -c support doesn't exit gracefully #1

@ManuelMeraz

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)

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