Skip to content

Instantly share code, notes, and snippets.

@whitmo
Created September 16, 2009 20:38
Show Gist options
  • Select an option

  • Save whitmo/188180 to your computer and use it in GitHub Desktop.

Select an option

Save whitmo/188180 to your computer and use it in GitHub Desktop.
@task
def check_for_ant(options):
try:
output = subprocess.Popen(["ant", "-v"], stdout=subprocess.PIPE).communicate()[0]
except :
raise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment