prezi / gradle-haxe-plugin

Gradle Haxe Plugin
Other
23 stars 4 forks source link

Support for parallel process execution #41

Closed rosadam closed 8 years ago

rosadam commented 9 years ago

Buffer the output of execAction when running in parallel. When 2 or more tasks exec tasks run in parallel and all of them produce output to System.out the output becomes incomprehensible. This implementation provides an exec factory with a buffering mechanism: output of the task is only displayed, when the exec finishes. During execution the output (stdout, and stderr) is redirected to a buffer, this buffer can "replay" the recorded output. When an exec task fails, the exception thrown contains the exec task's stderr output.