Make Subprocess a case class with three fields