We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 963b93e commit 222ffc7Copy full SHA for 222ffc7
ros2launch/ros2launch/api/api.py
@@ -159,7 +159,9 @@ def launch_a_launch_file(
159
if args and args.launch_prefix_filter:
160
launch_file_arguments.append(f'launch-prefix-filter:={args.launch_prefix_filter}')
161
162
- log_file_name = args.log_file_name if args and args.log_file_name else 'launch'
+ log_file_name = 'launch'
163
+ if args and args.log_file_name:
164
+ log_file_name = args.log_file_name
165
launch_service = launch.LaunchService(
166
argv=launch_file_arguments,
167
noninteractive=noninteractive,
0 commit comments