Sunday, 19 May 2013

Execute bash script using CygWin

Execute bash script using CygWin

How do you execute a bash script using CygWin? I am trying execute a bash script as part of a build.xml. This is the code snippet,
<property name="cygwinpath" value="C:/cygwin/bin/"/>

<exec dir="${cygwinpath}" executable="bash.exe">
    <arg value="${script}"/>   
</exec>

No comments:

Post a Comment