ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50270] New: No way to control whether SSHExec prints output to stdout
Date Mon, 15 Nov 2010 04:19:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50270

           Summary: No way to control whether SSHExec prints output to
                    stdout
           Product: Ant
           Version: 1.8.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: isaac@shabtay.com


Created an attachment (id=26296)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26296)
Allow "suppressStdout"

Currently, SSHExec prints the exec's output to stdout regardless of whether the
user asked for the output to be stored in a property, or in a file. This leads
to undesirable results when the output is very long; if I'm writing an Ant
buildfile and would like output to be redirected to a file, in 99.99% of the
cases I would *not* like to see that very same output in stdout, especially
when that output is long.

I suggest adding a property called "suppressStdout" (defaults to "false") to
control this.

I have attached a patch to SSHExec; regrettably can't afford the time to
thoroughly test it but it looks simple enough.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message