properly pipe to stderr
All checks were successful
Build and Publish / build_and_publish (push) Successful in 6m31s
All checks were successful
Build and Publish / build_and_publish (push) Successful in 6m31s
This commit is contained in:
parent
f668e68ba8
commit
568ccf56a1
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ import io
|
|||
import json
|
||||
import logging
|
||||
import pathlib
|
||||
import sys
|
||||
import tempfile
|
||||
import typing
|
||||
from pathlib import Path
|
||||
|
@ -285,6 +286,7 @@ class FFMeta(commands.Cog):
|
|||
"mp4",
|
||||
"pipe:1",
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=sys.stderr
|
||||
)
|
||||
stdout, stderr = await process.communicate()
|
||||
file = io.BytesIO(stdout)
|
||||
|
|
Loading…
Reference in a new issue