IDEMPIERE-6309 Output of task is better formatted as a console font (#2550)
* IDEMPIERE-6309 Output of task is better formatted as a console font * - minor improvement
This commit is contained in:
parent
b9d6cdc4e9
commit
e65879c201
|
@ -125,10 +125,12 @@ public class WTask extends Window implements EventListener<Event>, IHelpContext
|
|||
Executions.activate(desktop, 500);
|
||||
try {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(osTask.getOut())
|
||||
.append("<br>-----------<br>")
|
||||
sb.append("<pre><code>")
|
||||
.append(osTask.getOut())
|
||||
.append("-----------<br><p style=\"color:red\">")
|
||||
.append(osTask.getErr())
|
||||
.append("<br>-----------");
|
||||
.append("</p>-----------<br>")
|
||||
.append("</code></pre>");
|
||||
|
||||
info.setContent(sb.toString().replace("\n", "<br>"));
|
||||
if (!osTask.isAlive())
|
||||
|
|
Loading…
Reference in New Issue