Skip to content

Commit

Permalink
fix: change to not using shell
Browse files Browse the repository at this point in the history
  • Loading branch information
atsushi421 authored Oct 18, 2023
1 parent 29abd23 commit 6d50437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2caret/verb/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def _fini():
lttng.lttng_fini(session_name=args.session_name)

if args.record_clock:
clock_recorder = subprocess.Popen('ros2 run caret_trace clock_recorder', shell=True)
clock_recorder = subprocess.Popen(['ros2', 'run', 'caret_trace, 'clock_recorder'])
else:
clock_recorder = None
execute_and_handle_sigint(_run, _fini)
Expand Down

0 comments on commit 6d50437

Please sign in to comment.