Merge pull request #291 from SeanFxyz/patch-1

Update pipe_no_wait function to work on FreeBSD
This commit is contained in:
azlux authored and GitHub committed 2021-09-01 12:19:37 +02:00
commit 3733353170
1 file changed
+1 -1
+1 -1
View File
@@ -164,7 +164,7 @@ def pipe_no_wait():
""" Generate a non-block pipe used to fetch the STDERR of ffmpeg.
"""
if platform == "linux" or platform == "linux2" or platform == "darwin" or platform.startswith("openbsd"):
if platform == "linux" or platform == "linux2" or platform == "darwin" or platform.startswith("openbsd") or platform.startswith("freebsd"):
import fcntl
import os