DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33139>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33139 Summary: Core task 'exec' does not seem to spawn new window for cmd.exe processes Product: Ant Version: 1.6.1 Platform: PC OS/Version: Windows XP Status: UNCONFIRMED Severity: normal Priority: P3 Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Overview Description: Running from a DOS command line, the following piece of code does not open a new window when running the run-listener.bat file: <exec executable="C:/WINDOWS/System32/cmd.exe" spawn="true"> <arg value="start ${listener.dir}/run-listener.bat"/> </exec> The run-listener.bat file is executed, but not in a visible window. Tried for iexplore.exe with a html file and the .exe was started in a new window with the html file displayed, as expected. Steps to Reproduce: 1) Using PC / windows XP SP2, bring up a DOS command prompt. 2) Run an Ant build file containing similar code that seen above, for any .bat file or command. Actual Results: .bat file was executed, but as an invisible process. As the .bat file runs an ongoing process that has a user defined termination (closure of the window), the process process could not be terminated and so the build also hung. Expected Results: .bat file executed, but from another new DOS window, which can then be terminated by the user. Build Date & Platform: Build 2005-01-17 on PC OS Windows XP SP2. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]