In IntelliJ IDEA, I have this task in my Ant script
<target name="emulator-logcat">
<exec command="adb" spawn="false" osfamily="windows">
<arg value="-e"/>
<arg value="shell"/>
<arg value="logcat"/>
</exec>
</target>
It works, but the command output is sent to the IDEA Ant window, and not to the Windows console window. How can I redirect the output of a command to a new windows window, as if I started this command from cmd.exe?
source
share