equal
deleted
inserted
replaced
36 rc: Int, |
36 rc: Int, |
37 out_lines: List[String] = Nil, |
37 out_lines: List[String] = Nil, |
38 err_lines: List[String] = Nil, |
38 err_lines: List[String] = Nil, |
39 timing: Timing = Timing.zero) |
39 timing: Timing = Timing.zero) |
40 { |
40 { |
41 def out: String = cat_lines(out_lines) |
41 def out: String = Library.trim_line(cat_lines(out_lines)) |
42 def err: String = cat_lines(err_lines) |
42 def err: String = Library.trim_line(cat_lines(err_lines)) |
43 |
43 |
44 def output(outs: List[String]): Process_Result = |
44 def output(outs: List[String]): Process_Result = |
45 copy(out_lines = out_lines ::: outs.flatMap(split_lines)) |
45 copy(out_lines = out_lines ::: outs.flatMap(split_lines)) |
46 def errors(errs: List[String]): Process_Result = |
46 def errors(errs: List[String]): Process_Result = |
47 copy(err_lines = err_lines ::: errs.flatMap(split_lines)) |
47 copy(err_lines = err_lines ::: errs.flatMap(split_lines)) |