From 0660ab9172359c1a98f59b5de632627185601915 Mon Sep 17 00:00:00 2001 From: favilo Date: Tue, 2 Jul 2024 09:26:41 -0700 Subject: [PATCH] Make stdin more generic --- esrally/utils/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esrally/utils/process.py b/esrally/utils/process.py index 76dfb5d42..b6d8d9f1c 100644 --- a/esrally/utils/process.py +++ b/esrally/utils/process.py @@ -120,7 +120,7 @@ def run_subprocess_with_logging_and_output( command_line: str, header: Optional[str] = None, level: LogLevel = logging.INFO, - stdin: Optional[FileId] = None, + stdin: Optional[Union[FileId, IO[bytes]]] = None, env: Optional[Mapping[str, str]] = None, detach: bool = False, ) -> subprocess.CompletedProcess: