imageio / imageio-ffmpeg

FFMPEG wrapper for Python
BSD 2-Clause "Simplified" License
221 stars 50 forks source link

Optional disabling of `prevent_sigint`. #60

Closed Bulkin closed 2 years ago

Bulkin commented 2 years ago

This is a workaround for a strange hang on fork() when Popen is called with a preexec_fn (see #58). If the environment variable IMAGEIO_FFMPEG_NO_PREVENT_SIGINT is not empty, preexec_fn is set to None.

almarklein commented 2 years ago

Thanks! Three comments.

Bulkin commented 2 years ago

Done.

almarklein commented 2 years ago

Thanks!