Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use login shell so ~/.bash_profile is sourced #2169

Merged
merged 1 commit into from
Jan 27, 2024
Merged

Conversation

edwardalee
Copy link
Collaborator

In resurrecting the MQTT examples in the playground, I realized that the shell script that we generate to launch a federate does not source ~/.bash_profile, which makes it much more difficult to use external libraries with federated programs. The federates can be launched manually, but the shell script to launch them will not work. In the case of MQTT, it needs to find the Paho MQTT dynamically linked libraries, and without this change, there is no way to tell the script where to find them.

@edwardalee edwardalee added enhancement Enhancement of existing feature federated labels Jan 26, 2024
@edwardalee
Copy link
Collaborator Author

I don't think this two-byte change really requires a review, so rather than waste people's time, I'm putting this in the merge queue.

@edwardalee edwardalee merged commit fb0ab5c into master Jan 27, 2024
43 checks passed
@edwardalee edwardalee deleted the use-login-shell branch January 27, 2024 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of existing feature federated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant