equal
deleted
inserted
replaced
26 def check: Process_Result = |
26 def check: Process_Result = |
27 if (ok) this |
27 if (ok) this |
28 else if (interrupted) throw Exn.Interrupt() |
28 else if (interrupted) throw Exn.Interrupt() |
29 else Library.error(err) |
29 else Library.error(err) |
30 |
30 |
31 def clear: Process_Result = copy(out_lines = Nil, err_lines = Nil) |
|
32 |
|
33 def print: Process_Result = |
31 def print: Process_Result = |
34 { |
32 { |
35 Output.warning(Library.trim_line(err)) |
33 Output.warning(Library.trim_line(err)) |
36 Output.writeln(Library.trim_line(out)) |
34 Output.writeln(Library.trim_line(out)) |
37 clear |
35 copy(out_lines = Nil, err_lines = Nil) |
38 } |
36 } |
39 } |
37 } |