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

Add support for different shell export syntax in sendCommand method #2373

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

worksofliam
Copy link
Contributor

@worksofliam worksofliam commented Nov 26, 2024

Introduce support for varying export syntax based on the shell type in the sendCommand method, accommodating both Bash and Bourne shell conventions.

https://unix.stackexchange.com/a/193137

Run this SQL statement to change your shell: call qsys2.set_pase_shell_info('USERNAME', '/QOpenSys/usr/bin/bsh'), then restart your connection.

Tests that use getAttributes are passing.

Will fix #2370.

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam requested review from SanjulaGanepola and sebjulliand and removed request for SanjulaGanepola November 26, 2024 21:25
Copy link
Contributor

👋 A new build is available for this PR based on c04f0e1.

Copy link
Collaborator

@SanjulaGanepola SanjulaGanepola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@worksofliam worksofliam merged commit 26c7295 into master Nov 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Caused a file not found error
2 participants