Mercurial > cgi-bin > hgweb.cgi > ClipMan
comparison src/name/blackcap/clipman/RtfToHtml.kt @ 27:8aa2dfac27eb
Big reorg; compiled but untested.
author | David Barts <n5jrn@me.com> |
---|---|
date | Wed, 29 Jan 2020 10:50:07 -0800 |
parents | be282c48010a |
children | 0c6c18a733b7 |
comparison
equal
deleted
inserted
replaced
26:ff35fabaea3a | 27:8aa2dfac27eb |
---|---|
74 | 74 |
75 /* wait for it to exit */ | 75 /* wait for it to exit */ |
76 val exitStatus = job.waitFor() | 76 val exitStatus = job.waitFor() |
77 | 77 |
78 /* after it exits, wait for our data consumers to exit */ | 78 /* after it exits, wait for our data consumers to exit */ |
79 outputConsumer.join(); | 79 outputConsumer.join() |
80 errorConsumer.join(); | 80 errorConsumer.join() |
81 | 81 |
82 /* if it barfed, return an error, else return the HTML */ | 82 /* if it barfed, return an error, else return the HTML */ |
83 if (exitStatus != 0) { | 83 if (exitStatus != 0) { |
84 val errors = errorConsumer.output | 84 val errors = errorConsumer.output |
85 if (errors.isEmpty()) { | 85 if (errors.isEmpty()) { |