-
Notifications
You must be signed in to change notification settings - Fork 19
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
Errors are not detected as errors and out is in the wrong order #9
Comments
I think it is known issue with powershell |
About order. Want to be beta tester? |
@vvchik I understand the exit code, but maybe if you see something on stderror terminate with error... otherwise. Thanks! |
Warnings also going via STERR... |
May you please try code from https://github.com/NetDocuments/rd-winrm-plugin/tree/feature/longlive_output_error_order branch |
Will do this Monday morning thanks! |
Sorry for the delay i was having some issues with rundeck require of the winrm gem (still unresolved but have worked around it) Output:
Notes:
|
Ok this seems to be an issue because of the way the winrm library outputs stderr/stdout when using run_cmd / run_powershell |
I have some scripts that have errors in the execution but the job finishes as successful.
In some cases im also getting the error output printed before the output of echo commands that execute before it.
The text was updated successfully, but these errors were encountered: