ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "john blair" <mailtome200420032...@gmail.com>
Subject Redirecting error to /dev/null
Date Sat, 20 May 2006 10:33:20 GMT
Hi
I want to execute the following command
strip /opt/dev/bin/* >/dev/null 2>&1 || true

I tried the error parameter of exec task but it still displayed the
following
    [exec] /usr/bin/strip: /opt/dev/bin/gccbug: File format not
recognized
    [exec] [ERROR] Result: 1

I dont want [ERROR] Result: 1 even if the command fails
Can someone help?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message