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?