Bug 56711 - Allow Redirects For Spawned Processes (exec and java tasks)
Summary: Allow Redirects For Spawned Processes (exec and java tasks)
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2014-07-11 05:21 UTC by Charles Barber
Modified: 2014-07-11 05:21 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Charles Barber 2014-07-11 05:21:37 UTC
As stated in the manual, the exec and java tasks do not allow input and output redirection when spawn="true". This is understandable prior to JDK 1.7, but the new redirectXXX methods in java.lang.ProcessBuilder look like they could easily support this feature, to / from Files, or inheriting the standard input / output / error streams.