next up previous contents index
Next: Parameters Up: Exec Previous: Exec   Contents   Index

Description

Executes a system command. When the os attribute is specified, then the command is only executed when Ant is run on one of the specified operating systems.

Cygwin Users

In general the <exec> 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 Windows executable and is not aware of Cygwin conventions.



Andrew Marlow 2003-07-08