Closed mfiebig closed 5 years ago
👌
Can you add a changelog entry?
done 👌
I would very much like to see that fix in cocoapods in 1.7. Any way I can help to make that happen @dnkoutso ?
@mfiebig one more thing, please point 2-2-stable
branch as we will most likely make a 2.2.1 release and not a 2.3.0 since this is a bug fix.
@dnkoutso done 👍
Once conflict is resolved it should be good to merge!
Should be resolved now
This PR was merged in 2-2-stable but then was cherry-picked in 2-3-stable. 2-2-stable was then pointed back to what it was before because this change never shipped in 2.2.x release.
This change shipped in 2.3.1 release.
This should fix #17
The error was reliably reproducable by removing
executable.rb:173
(sleep(0.01)
). It looks like the sleep was there to get the threads to finish. The replacement withThread.join
should reliably wait for both threads to process the streams.I'm no expert concerning ruby, but at least the fix looks reasonable to me. Please tell me if I can improve it further (I tried to write a test for this, but failed to replace
Open3.popen3
within theself.popen3
method.) :)