Closed gaul closed 11 years ago
@andrewgaul Does this solve an issue for you?
@iocanel This helps scripting jclouds-cli, ensuring that stdout does not have spurious data. @mark7 ran into this at Maginatics when setting up a pipeline of the form:
jclouds blobstore read jclouds-cli blobName /dev/stdout | tee sha256sum > outfile
@andrewgaul: Then let's merge it. I was just asking cause I thought that it would have no effect as the libs that are managing the shell, will replace both out and err with a sigle stream. This is definitely the case for the interactive mode, wasn't sure and neither had the time to dig if this is the case for the non interactive mode.
I tested this in non-interactive mode and it emits to stderr as I expect.
@iocanel What do you think about this commit?