diff --git a/docs/manual/CoreTasks/exec.html b/docs/manual/CoreTasks/exec.html index 36a65bc03..c331e1330 100644 --- a/docs/manual/CoreTasks/exec.html +++ b/docs/manual/CoreTasks/exec.html @@ -48,6 +48,30 @@ error). Don't use this task to run JAVA.EXE, use a set to true instead as this task will follow the VM's interpretation of exit codes.

+

RedHat S/390 Users

+ +

It has been reported +on the VMESA-LISTSERV that shell scripts invoked via the Ant Exec +task must have their interpreter specified, i.e., the scripts must +start with something like: + +

+
+#!/bin/bash
+
+
+ +or the task will fail as follows: + +
+
+[exec] Warning: UNIXProcess.forkAndExec native error: Exec format error
+[exec] Result: 255
+
+
+

+

Parameters