diff --git a/streamrip/client/downloadable.py b/streamrip/client/downloadable.py index 3b29b504..3a28f82e 100644 --- a/streamrip/client/downloadable.py +++ b/streamrip/client/downloadable.py @@ -419,7 +419,7 @@ async def concat_audio_files(paths: list[str], out: str, ext: str, max_files_ope "warning", outpaths[i], ) - fut = asyncio.create_subprocess_exec(*command, stderr=asyncio.subprocess.PIPE) + fut = asyncio.create_subprocess_exec(*command, stdin=asyncio.subprocess.DEVNULL, stderr=asyncio.subprocess.PIPE) proc_futures.append(fut) # Create all processes concurrently diff --git a/streamrip/converter.py b/streamrip/converter.py index aa4aa2aa..7b5f61e2 100644 --- a/streamrip/converter.py +++ b/streamrip/converter.py @@ -86,6 +86,7 @@ async def convert(self, custom_fn: Optional[str] = None): process = await asyncio.create_subprocess_exec( *self.command, + stdin=asyncio.subprocess.DEVNULL, stderr=asyncio.subprocess.PIPE, ) out, err = await process.communicate()