Bug 24592 - support @input for the exec task
Summary: support @input for the exec task
Status: RESOLVED FIXED
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.5.2
Hardware: Sun Solaris
: P3 enhancement (vote)
Target Milestone: 1.6
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-11 00:45 UTC by Kohsuke Kawaguchi
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kohsuke Kawaguchi 2003-11-11 00:45:39 UTC
The exec task should support the input redirection.
In other words, I'd like to redirect stdin of the new process
to a file that I specify through the exec task.
Comment 1 Antoine Levy-Lambert 2003-11-11 08:01:06 UTC
ant 1.6 has these 2 attributes in the exec task.

input  	: A file from which the executed command's standard input is taken. This
attribute is mutually exclusive with the inputstring attribute.   	
inputstring :	A string which serves as the input stream for the executed
command. This attribute is mutually exclusive with the input attribute. 

See this link : http://ant.apache.org/manual-1.6beta/CoreTasks/exec.html