Workaround for bug that happens if grails finishes command output without trailing newline.