From 9df2adf3e2b2f41fda10a13e8e4c366a0d1b4d03 Mon Sep 17 00:00:00 2001 From: Javier Date: Thu, 31 Oct 2024 16:14:24 +0000 Subject: [PATCH] refactor(framework) Launch `flwr-serverapp` with `subproces.popen` (#4406) --- src/py/flwr/server/app.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/py/flwr/server/app.py b/src/py/flwr/server/app.py index bdfa4cea172e..0a4b3b20f0f4 100644 --- a/src/py/flwr/server/app.py +++ b/src/py/flwr/server/app.py @@ -397,11 +397,9 @@ def _flwr_serverapp_scheduler( else: command.append("--insecure") - subprocess.run( + subprocess.Popen( # pylint: disable=consider-using-with command, - stdout=None, - stderr=None, - check=True, + text=True, )