On Mar 10, 2010, at 18:35, David Weintraub wrote:

> On Wed, Mar 10, 2010 at 1:31 PM, Ted Stern wrote:
>> What about this basic shell manipulation?
>> 
>> #!/bin/sh
>> 
>> exec 1>&2    # combine stdout with stderr
>> 
>> # do stuff that generates stdout
>> 
>> if [ <condition> ] ; then
>>   exit 1       # return non-zero exit every time there's stdout
>> fi
> 
> I know that hooks don't return STDOUT to the user, but does
> Subversion's hooks eat STDOUT, or can I pass it on to the next
> program. That's what I want to know.

As far as I know, you should be able to pass STDOUT anywhere you want to, like 
you would in any other script. Have you tried it?


Reply via email to