How can I send a interrupt to a window within screen. I have screen running with several windows. Each of the windows have processes running within them. I wish to be able to send and interrupt to a specific window ie ctrl+c. I wish to do this without killing the window itself. My other options is to look up the process ID and do kill -INT
Asked
Active
Viewed 1,100 times
1 Answers
2
I would do it with kill -INT
, but this should work as well:
screen -S sessionid -X stuff $'\cc'
Dennis Williamson
- 60,515
- 14
- 113
- 148