B4J Question Jshell sending keystroke to process

jazzzzzzz

Active Member
Licensed User
Longtime User
Am using jshell to start ffmpeg.exe in windows,I want to send a keystroke to that FFMPEG process say ctrl+c (SIGINT) to properly exit it.

I have tried jshell.killprocess to exit the process and it works but to properly exit FFMPEG i want to send ctrl+c (SIGINT) keystroke to that process ..How can i do it?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…