Open nicholascross opened 7 years ago
I was able to create a small example that can reproduce the problem.
The following output will not be observed using the default launchBash
implementation but will with the hacked version (and when run from terminal).
[!] The Fastfile requires a fastlane version of >= 5000. You are on 2.5.0.
@nicholascross Awesome, thanks for this! I'll look into this within the next couple of days if no one else beats me to it 👍
I have come across a scenario when not all standard output is returned. This seems to be happening on a non zero exit code, successful termination may or may not be affected.
Background I was using shellOut to execute fastlane and it was failing for version requirements not being read.
Investigation I did some tinkering and it seems to be related to how this function reads the output.
This is the output when using the default implementation
I noticed the linux only variation and thought I would try it out on macos, I hacked the function as follows.
Which produces the following output
Assuming I am not using this wrong it looks like the output is getting cut off early.