Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 3733353

Browse files
authored
Merge pull request #291 from SeanFxyz/patch-1
Update pipe_no_wait function to work on FreeBSD
2 parents 75c54f2 + 5224610 commit 3733353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def pipe_no_wait():
164164
""" Generate a non-block pipe used to fetch the STDERR of ffmpeg.
165165
"""
166166

167-
if platform == "linux" or platform == "linux2" or platform == "darwin" or platform.startswith("openbsd"):
167+
if platform == "linux" or platform == "linux2" or platform == "darwin" or platform.startswith("openbsd") or platform.startswith("freebsd"):
168168
import fcntl
169169
import os
170170

0 commit comments

Comments
 (0)