Commit 7a63ece8 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix end lines on output buffers

parent 313e4e59
......@@ -88,7 +88,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
def outputLog = "Version command: \n" + versionCommand +
"\n output log: \n stdout: \n" + stdout.toString +
"\n stderr: \n" + stderr.toString
val process = Process(versionCommand).run(ProcessLogger(stdout append _, stderr append _))
val process = Process(versionCommand).run(ProcessLogger(stdout append _+"\n", stderr append _+"\n"))
if (!versionExitcode.contains(process.exitValue)) {
logger.warn("getVersion give exit code " + process.exitValue + ", version not found \n" + outputLog)
return "N/A"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment