I'm not sure what this has to do specifically with ROS 2. The general issue here is how do you source a shell script correctly via a system call.
I recommend asking on a more generic forum. We usually use Python's `subprocess` module to do this kind of thing.
---
[Visit Topic](
https://discourse.ros.org/t/ros2-running-command-inside-qt/2673/2) or reply to this email to respond.
If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list
ros-users@lists.ros.org
http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <
http://lists.ros.org/mailman//options/ros-users>