openpreserve / scape-toolwrapper

SCAPE project for creating debian packages from command line tools.
http://openplanets.github.io/scape-toolwrapper
Apache License 2.0
5 stars 1 forks source link

Fix logging of stdout and log stderr #9

Closed luis100 closed 10 years ago

luis100 commented 10 years ago

https://github.com/openplanets/scape-toolwrapper/blob/master/toolwrapper-bash-debian-generator/src/main/java/eu/scape_project/tool/toolwrapper/toolwrapper_bash_debian_generator/DebianBashWrapperGenerator.java#L679

The line printing needs to be after the exec.waitFor() and the same processing should be done for stderr with getErrorStream().