Update gitrepo.py

dev
Ruslan-Isaev 2025-01-04 23:42:28 +03:00 committed by GitHub
parent babab4dffe
commit 405ba4c240
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@ from .. import loader, utils
async def run_subprocess(command):
process = await asyncio.create_subprocess_exec(
*command,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE
stdout=asyncio.subprocess.DEVNULL,
stderr=asyncio.subprocess.DEVNULL
)
stdout, stderr = await process.communicate()
return process.returncode, stdout.decode(), stderr.decode()