fix: include "openbsd" in pipe_no_wait, fixed #116

This commit is contained in:
Terry Geng 2020-04-25 09:11:58 +08:00 committed by GitHub
parent 9f8dcec5a4
commit b33e6c6dda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,7 @@ def pipe_no_wait():
""" Generate a non-block pipe used to fetch the STDERR of ffmpeg. """ Generate a non-block pipe used to fetch the STDERR of ffmpeg.
""" """
if platform == "linux" or platform == "linux2" or platform == "darwin": if platform == "linux" or platform == "linux2" or platform == "darwin" or platform.startswith("openbsd"):
import fcntl import fcntl
import os import os