diff --git a/controller_manager/controller_manager/spawner.py b/controller_manager/controller_manager/spawner.py index 35cdaae968..3d89ee5c06 100644 --- a/controller_manager/controller_manager/spawner.py +++ b/controller_manager/controller_manager/spawner.py @@ -19,6 +19,8 @@ import sys import time import warnings +import io +from contextlib import redirect_stdout, redirect_stderr from controller_manager import configure_controller, list_controllers, \ load_controller, switch_controllers, unload_controller