 the
<tt>executable</tt> attribute in your buildfile.
</p>


<h4>Cygwin Users</h4>
<p>The <code>&lt;exec&gt;</code> task will not understand paths such as /bin/sh
for the executable parameter.  This is because the Java VM in which Ant is
running is a standard Windows executable and is not aware of the Cygwin
environment (i.e., doesn't load <code>cygwin1.dll</code>).  The only
work-around for this is to compile a JVM under Cygwin (at your own risk).
See for instance 
<a href="http://java.sun.com/javase/6/doc