diff --git a/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala b/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala index da076d3841ef6ea8c8a76f3cd5c41d17f2449fd8..373b8cc013f6e5d7b4e486383834fba74968ebb6 100644 --- a/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala +++ b/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala @@ -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"