Skip to content

Instantly share code, notes, and snippets.

@birchestx
Created January 6, 2014 00:26
Show Gist options
  • Save birchestx/8276141 to your computer and use it in GitHub Desktop.
Save birchestx/8276141 to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/4344139/how-to-get-a-return-value-from-an-exec-in-ant-script failoneerror from exectable call example - used for our git commands
<target name="CheckState">
<exec executable="${App.path}"
resultproperty="App.state"
failonerror="false"/>
<echo message="App state was: ${App.state}" />
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment