Inject Keystroke to different process using Bash

前端 未结 2 2058
無奈伤痛
無奈伤痛 2020-12-18 13:06

I have a process that runs indefinitely until a key is pressed. I would like to use bash to inject a keystroke into this process to have it terminate. Based on this post, li

2条回答
提交回复
热议问题