diff --git a/ros2caret/verb/record.py b/ros2caret/verb/record.py index 78356a85..c959a364 100644 --- a/ros2caret/verb/record.py +++ b/ros2caret/verb/record.py @@ -223,11 +223,13 @@ def _fini(): node.stop_progress() node.end() if clock_recorder: + // cspell: ignore killpg, getpgid os.killpg(os.getpgid(clock_recorder.pid), signal.SIGTERM) print('stopping & destroying tracing session') lttng.lttng_fini(session_name=args.session_name) if args.record_clock: + // cspell: ignore preexec, setpgrp clock_recorder = subprocess.Popen(['ros2', 'run', 'caret_trace', 'clock_recorder'], preexec_fn=os.setpgrp) else: clock_recorder = None