Do I have a chance to find the pid of the application I'm running with popen
?
I know it's possible with proc_open
but it's unlikely for me to change my app's structure
Or how can I stop the process that is opened with popen
and continues to run?
When encoding stream with ffmpeg sometimes I need to stop