You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to asked if I should expect specific order of lines in output for func shell.RunCommandAndGetOutputE ?
I noticed output struct returns internal merged struct on call of output.Combined(). The second one contains comment that parallel writes should not be allowed.
I noticed that during manual debug of shell.RunCommandAndGetOutputE , especially with some slowdowns inside execution of code within wait group defined in readStdoutAndStderr, I obtained output with mixed lines form stdout and stderr.
Is there any solution to have an output in specific order e.g. standard error data stream first and standard output second?
The text was updated successfully, but these errors were encountered:
Hi guys,
I would like to asked if I should expect specific order of lines in output for func
shell.RunCommandAndGetOutputE
?I noticed
output
struct returns internalmerged
struct on call ofoutput.Combined()
. The second one contains comment that parallel writes should not be allowed.I noticed that during manual debug of
shell.RunCommandAndGetOutputE
, especially with some slowdowns inside execution of code within wait group defined inreadStdoutAndStderr
, I obtained output with mixed lines formstdout
andstderr
.Is there any solution to have an output in specific order e.g. standard error data stream first and standard output second?
The text was updated successfully, but these errors were encountered: