Deadlock in reading stdout from cmd

Ok thanks for checking Jameson, I filed an issue:
https://github.com/JuliaLang/julia/issues/22832