Hi.
How can i send CRTL+C command to terminate one external script ?
This is what am doing:
- waiting for button press
- if detected, run external shell script
- wait 20 seconds
- send termination signal and close shell script
Whole code is written in python and shell script is called as subprocess ( looking for better solution ).
Any idea how to send this crtl+c command ?
PIN