Skip to content

Commit

Permalink
Made logging in SubprocessStep better
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-gardner committed Aug 23, 2016
1 parent 52079ef commit 96f720f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -2,7 +2,7 @@ organization := "edu.cmu.ml.rtw"

name := "matt-util"

version := "2.3.1"
version := "2.3.2"

scalaVersion := "2.11.8"

Expand Down
3 changes: 2 additions & 1 deletion src/main/scala/com/mattg/pipeline/SubprocessStep.scala
Expand Up @@ -28,7 +28,8 @@ abstract class SubprocessStep(

override def _runStep() {
val commandToExecute = Seq(binary) ++ scriptFile.toSeq ++ arguments
logger.info(s"Starting subprocess with command: $commandToExecute")
val commandStr = commandToExecute.mkString(" ")
logger.info(s"Starting subprocess with command: $commandStr")

val process = Process(commandToExecute)
val exitCode = process.!
Expand Down

0 comments on commit 96f720f

Please sign in to comment.