From 9eea3ef9b6f4155c9a8da21a430582cde9fb6aae Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas.kluyver@xfel.eu> Date: Fri, 13 May 2022 15:10:38 +0200 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- webservice/webservice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webservice/webservice.py b/webservice/webservice.py index 3f9963729..4905d7b43 100644 --- a/webservice/webservice.py +++ b/webservice/webservice.py @@ -241,7 +241,7 @@ def change_config(config, updated_config, instrument, async def run_proc_async(cmd: List[str]) -> Tuple[Optional[int], bytes, bytes]: """Run a subprocess to completion using asyncio, capturing stdout - Returns the numeric exit code and stdout (bytes) + Returns the numeric exit code, stdout and stderr (bytes) """ proc = await asyncio.create_subprocess_exec( *cmd, stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE -- GitLab