From 72e8daf133280f78ca12cd6b2ff3f245c1d78417 Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas@kluyver.me.uk>
Date: Wed, 24 Feb 2021 12:08:21 +0000
Subject: [PATCH] Add another missing await

---
 webservice/webservice.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webservice/webservice.py b/webservice/webservice.py
index 0f534e343..8ecdae41b 100644
--- a/webservice/webservice.py
+++ b/webservice/webservice.py
@@ -211,7 +211,7 @@ async def run_proc_async(cmd: List[str]) -> (int, bytes):
     Returns the numeric exit code and stdout (bytes)
     """
     proc = await asyncio.create_subprocess_exec(*cmd, stdout=asyncio.subprocess.PIPE)
-    stdout, _ = proc.communicate()
+    stdout, _ = await proc.communicate()
     return proc.returncode, stdout
 
 
-- 
GitLab