diff --git a/speedtest/speedtest.py b/speedtest/speedtest.py index 3e427f3..901b9bd 100644 --- a/speedtest/speedtest.py +++ b/speedtest/speedtest.py @@ -38,7 +38,7 @@ class Speedtest(commands.Cog): async def run_speedtest(self) -> str | Any: try: process = await asyncio.create_subprocess_exec( - "speedtest", "-f json", "--accept-license", + program=["speedtest", "-f", "json", "--accept-license"], stdout=subprocess.PIPE, stderr=subprocess.PIPE )