ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26176] - exec does not find executable
Date Thu, 15 Jan 2004 20:18:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26176>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26176

exec does not find executable

antoine@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From antoine@apache.org  2004-01-15 20:18 -------
Do it like this :

        <exec 
                 spawn="true"
		dir="/usr/local/scripts"
                executable="/bin/sh"
		os="HP-UX">
		<arg value="test2"/>
                <arg value="start"/>	
	</exec>

The executable should be your shell interpreter, not the shell script.
When you do <exec executable="test"/> you are actually calling a program called
test, not your shell script.
Antoine

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message