diff --git a/gazebo_ros/launch/gzclient.launch.py b/gazebo_ros/launch/gzclient.launch.py index c9ab09eb0..921684315 100644 --- a/gazebo_ros/launch/gzclient.launch.py +++ b/gazebo_ros/launch/gzclient.launch.py @@ -100,6 +100,7 @@ def generate_launch_description(): output='screen', additional_env=env, shell=False, + split_arguments=True, prefix=prefix, on_exit=Shutdown(), condition=IfCondition(LaunchConfiguration('gui_required')), @@ -111,6 +112,7 @@ def generate_launch_description(): output='screen', additional_env=env, shell=False, + split_arguments=True, prefix=prefix, condition=UnlessCondition(LaunchConfiguration('gui_required')), ), diff --git a/gazebo_ros/launch/gzserver.launch.py b/gazebo_ros/launch/gzserver.launch.py index e6de195b7..691f5297e 100644 --- a/gazebo_ros/launch/gzserver.launch.py +++ b/gazebo_ros/launch/gzserver.launch.py @@ -208,6 +208,7 @@ def generate_launch_description(): output='both', additional_env=env, shell=False, + split_arguments=True, prefix=prefix, on_exit=Shutdown(), condition=IfCondition(LaunchConfiguration('server_required')), @@ -219,6 +220,7 @@ def generate_launch_description(): output='both', additional_env=env, shell=False, + split_arguments=True, prefix=prefix, condition=UnlessCondition(LaunchConfiguration('server_required')), ),