-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Currently to speed up a build tasks must be executed in parallel. The lack of <parallel> (from Ant) forces lesser solutions like <exec ...> followed by <waitforexit>.
The major problem is that neither <exec> nor <waitforexit> can help check the program didn't throw an error (even with failonexit or resultproperty). I know the documentation says it's the current behavior but that's very limiting.
Example:
<project>
<target name="foo">
<exec spawn="true" pidproperty="pid" failonerror="false" resultproperty="result" program="cmd" commandline="/c girbish" />
<waitforexit pid="${pid}" />
<echo>${result}</echo>
</target>
</project>
This will always display -1000 and never fail.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels