Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Fix parsing of "rospack list" when path contains spaces#1304

Open
rovo89 wants to merge 1 commit into
ms-iot:masterfrom
rovo89:fix/rospack_list_split
Open

Fix parsing of "rospack list" when path contains spaces#1304
rovo89 wants to merge 1 commit into
ms-iot:masterfrom
rovo89:fix/rospack_list_split

Conversation

@rovo89

@rovo89 rovo89 commented Apr 16, 2025

Copy link
Copy Markdown

If the output contains a line like this:

paho-mqtt-c /opt/ros/noetic/share/Eclipse Paho C

The parsing logic failed because the split() result contains more than two elements.

Subsequently, the c_cpp_properties.json file was not created correctly.

This commit re-joins the path elements to handle this case.

If the output contains a line like this:

    paho-mqtt-c /opt/ros/noetic/share/Eclipse Paho C

The parsing logic failed because the split() result contains more than
two elements.

Subsequently, the c_cpp_properties.json file was not created correctly.

This commit re-joins the path elements to handle this case.
@rovo89 rovo89 requested a review from a team as a code owner April 16, 2025 20:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant