Homec4science

Gracefully quit when user presses ctrl-c while he is prompted for…

Authored by Jerome Caffaro <jerome.caffaro@cern.ch> on Oct 21 2008, 09:45.

Description

Gracefully quit when user presses ctrl-c while he is prompted for username/password.

Intercept KeyboardInterrupt and EOFError exceptions when waiting input from user.

Details

Committed
Jerome Caffaro <jerome.caffaro@cern.ch>Oct 21 2008, 09:45
Parents
R3600:e7f61450bb15: Merge commit 'jerome/html-washer-fix'
Branches
Unknown
Tags
Unknown

Event Timeline

Jerome Caffaro <jerome.caffaro@cern.ch> committed R3600:d3ec4f1e8bce: Gracefully quit when user presses ctrl-c while he is prompted for… (authored by Jerome Caffaro <jerome.caffaro@cern.ch>).Oct 21 2008, 09:45