Merge "pass stream contents in separate thread for executeShellCommand"