diff --git a/docs/manual/CoreTasks/exec.html b/docs/manual/CoreTasks/exec.html index 0df73287f..91e9c65bb 100644 --- a/docs/manual/CoreTasks/exec.html +++ b/docs/manual/CoreTasks/exec.html @@ -35,7 +35,18 @@ to send input to it is via the input and inputstring attributes. Also note that since Ant 1.6, any attempt to read input in the forked program will receive an EOF (-1). This is a change from Ant 1.5, where such an attempt would block.

- +

If you want to execute an executable using a path relative to the + project's basedir, you may need to + use vmlauncher="false" on some operating systems - but + even this may fail (Solaris 8/9 has been reported as problematic). + The resolveexecutable attribute should be more + reliable, as would be something like +

+  <property name="executable-full-path"
+            location="../relative/path/to/executable"/>
+  <exec executable="${executable-full-path}" ...
+
+

Windows Users

The <exec> task delegates to Runtime.exec which in turn