View Single Post
Old 2021-06-08, 13:59   #6
kruoli
 
kruoli's Avatar
 
"Oliver"
Sep 2017
Porta Westfalica, DE

22168 Posts
Default

There might be a workaround for this. I'm interested in your opinion.

When starting YAFU, execute ecm and send it ^C programmatically and observe the resulting return code. Save it.

Another possibility would be to handle all return codes that are not defined by ecm itself (the manpage mentions only 0, 1, 2, 6, 8, 10 an 14) and are not handled otherwise as an abortion, because in this case, either the process was interrupted by the user or something else went horribly wrong.
kruoli is offline   Reply With Quote