Skip to content

Commit 09b30da

Browse files
authored
Use of -r/--remap flags where appropriate. (#325)
Signed-off-by: Michel Hidalgo <[email protected]>
1 parent aa48ac8 commit 09b30da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ros2component/ros2component/api/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,4 +284,6 @@ def run_standalone_container(*, container_node_name):
284284
if executable_path is None:
285285
raise RuntimeError('No component container node found!')
286286

287-
return subprocess.Popen([executable_path, '__node:=' + container_node_name])
287+
return subprocess.Popen([
288+
executable_path, '--ros-args', '-r', '__node:=' + container_node_name
289+
])

0 commit comments

Comments
 (0)