From cf1b1d6359447bfb4986f42704b93c5ecc497d83 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
Date: Tue, 13 Apr 2004 10:36:42 +0000
Subject: [PATCH] Add RedHat S/390 hint submitted by Jack Woehr
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276295 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/CoreTasks/exec.html | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
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