fix bind stdout and stderr of subprocess

This commit is contained in:
Il'ya (Marshal) 2022-08-03 00:32:24 +02:00
parent e2feafef61
commit a3a20f6ff9

View file

@ -330,7 +330,7 @@ async def download_telegram_android_beta_and_extract_resources(session: aiohttp.
process = await asyncio.create_subprocess_exec(
'java', '-jar', 'tool.apk', 'd', '-s', '-f', 'android.apk',
stdout=asyncio.subprocess.STDOUT,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.STDOUT
)
await process.communicate()