Quantcast
Channel: Python Interrupt Not Working with os.system('clear') - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Antti Haapala for Python Interrupt Not Working with os.system('clear')

It can be that signals from the subprocess; or even duplicating the file descriptors interfere with the event mechanism. You do not need to execute the clear command to clear the screen - you can do it...

View Article


Python Interrupt Not Working with os.system('clear')

I have a python script running on my Raspberry Pi which uses a button and python interrupts. I'm running into a problem when I use os.system('clear'). Whenever I include that in my code, the interrupt...

View Article
Browsing latest articles
Browse All 2 View Live