diff --git a/docs/manual/CoreTasks/exec.html b/docs/manual/CoreTasks/exec.html index c2f337a44..e2aef8b05 100644 --- a/docs/manual/CoreTasks/exec.html +++ b/docs/manual/CoreTasks/exec.html @@ -45,8 +45,22 @@ apparently calls +

+ Note that .bat files cannot in general by executed directly. + One normally needs to execute the command shell executable cmd + using the /c switch. +

+
+
+<target name="help">
+  <exec executable="cmd">
+    <arg value="/c"/>
+    <arg value="ant.bat"/>
+    <arg value="-p"/>
+  </exec>
+</target>
+

Cygwin Users

In general the <exec> task will not understand paths such as /bin/sh for