check exceptions for Popen, error handling improved
sigint handler