On Sunday 15 June 2008 09:43:54 Guy Catz wrote:
> Hi.
>
> I want to run an exec and I want its output to be directed to /dev/null.
> But, when I run "myexec -r -a > /dev/null" I get an error saying that
> the engine tried to run 3 lines - myexec -r -a
> >
> /dev/null
>
> and not all in one line.
>
> How can I make it happened? I'm using the <exec> task.
>
> Thanks.

Have you tried

(untested)

<exec executable="myexec>
  <arg value="-r" />
  <arg value="-a" />
</exec>
<exec executable="mv">
  <arg value="yourOutput" />
  <arg value="/dev/null" />
</exec>


Regards

  Henning

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to