mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-01-21 00:17:06 +01:00
fix bind stdout and stderr of subprocess
This commit is contained in:
parent
e2feafef61
commit
a3a20f6ff9
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue