Open azimut opened 4 months ago
this is harder than I though, while i can use try/with
to capture the exception of my OCaml code, I cannot kill the remaining processes. Unix.kill with Unix.process_pid_in only kills a parent process while the other process runs amok. Maybe with a different stdlib library this would be easier.
Somehow I found that if the parsing found an error #11 and exited the ffmpeg process was still running orphan.
Example: