-
Notifications
You must be signed in to change notification settings - Fork 42
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
Forward the exit status from the remote command #9
Comments
+1 on this. I've scripts that wait until the server is ready and exiting with 0 breaks that kind of workflow. It would be great to get this prioritised. |
I see that a fix has been already provided but the repo seems unmaintained. Are there any plans to merge this fix anytime soon ? Would be awesome thanks ! |
Getting the return code from mssh is very important for the code I'm working on, so I was happy when I found a fork with a fix: which the author has kindly published at PyPI: |
Hey man this is a real life saver, thanks for the link !
…On Mon, 22 Jun 2020 at 12:03, Matthew Arnison ***@***.***> wrote:
Getting the return code from mssh is very important for the code I'm
working on, so I found a fork with a fix:
***@***.***
<mplaza-ptc@57ab4b5>
which the author has kindly published at PyPI:
https://pypi.org/project/ec2instanceconnectcli-ptc/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIKPEJQACTC6APJZM7TZ6RLRX4UANANCNFSM4JANBENQ>
.
--
Pozdrawiam,
Leszek Błażewski
https://www.e-korepetycje.net/beard
https://www.linkedin.com/in/leszek-blazewski/
|
Hi @yellowtailfan, thanks for providing this! I'm not aware of that fork, however I would recommend verifying that code before using it. And to everyone else, sorry for the delays in keeping CLI updated. We are now actively working on releasing a new version with some improvements. |
Awesome that the fix has been merged ! I don't want to open new issue for this but are there any plans to release the version with fixes to PyPI in order to install it with pip ? I guess you are working on an bigger release but is there any ETA when we can expect the new version on PyPI ? Best regards :) |
We are working on the final steps now, I don't have an ETA but it should be quick. I will update here once PyPI is updated. Thanks for the support! |
Please change the mssh command to forward the exit status of the remote command the same way ssh does.
The man page from ssh describing this:
Example:
This should echo
42
instead of0
.The text was updated successfully, but these errors were encountered: