Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 64269 invoked from network); 13 Sep 2007 08:31:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Sep 2007 08:31:24 -0000 Received: (qmail 58313 invoked by uid 500); 13 Sep 2007 08:31:13 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 58280 invoked by uid 500); 13 Sep 2007 08:31:13 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 58266 invoked by uid 99); 13 Sep 2007 08:31:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 01:31:13 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [192.6.10.60] (HELO tobor.hpl.hp.com) (192.6.10.60) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2007 08:31:08 +0000 Received: from localhost (localhost [127.0.0.1]) by tobor.hpl.hp.com (Postfix) with ESMTP id 3CF5CB7B36 for ; Thu, 13 Sep 2007 09:30:46 +0100 (BST) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from tobor.hpl.hp.com ([127.0.0.1]) by localhost (tobor.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id V4ZtKf3f07k9 for ; Thu, 13 Sep 2007 09:30:43 +0100 (BST) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [16.25.144.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tobor.hpl.hp.com (Postfix) with ESMTP id A8C67B7AEB for ; Thu, 13 Sep 2007 09:30:43 +0100 (BST) Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by ha-node-br2.hpl.hp.com (8.14.1/8.13.4) with ESMTP id l8D8UVU6018321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 13 Sep 2007 09:30:31 +0100 (BST) Message-ID: <46E8F522.3070001@apache.org> Date: Thu, 13 Sep 2007 09:30:26 +0100 From: Steve Loughran User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Ant Users List Subject: Re: org.apache.tools.ant.taskdefs.Execute and segafult References: <12641861.post@talk.nabble.com> In-Reply-To: <12641861.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org venki wrote: > Hi, > I am using org.apache.tools.ant.taskdefs.Execute combined with > org.apache.tools.ant.taskdefs.PumpStreamHandler to execute an external C > program. When the external C program segfaults, I am not able to to see any > output that came from the external C program before it segfaults. Also, I am > not able to see the 'segmentation fault' message in the stream output. Any > help to solve this would be useful. > > Thanks. > > Venki > testing failing C apps isnt part of the ant test plan -very non portable, so I dont know what happens. I do suspect the output comes in on stderr though, not stdout -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org