import subprocess import asyncio # subprocess.run(["bash", "entrypoint.sh"]) # import asyncio async def execute_command(command): process = await asyncio.create_subprocess_shell(command, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE) stdout, stderr = await process.communicate() asyncio.run(execute_command("bash entrypoint.sh"))