equal
deleted
inserted
replaced
135 private case class Execute(console: Console, out: Output, err: Output, command: String) |
135 private case class Execute(console: Console, out: Output, err: Output, command: String) |
136 extends Request |
136 extends Request |
137 |
137 |
138 private class Interpreter |
138 private class Interpreter |
139 { |
139 { |
140 private val running = Synchronized(None: Option[Thread]) |
140 private val running = Synchronized[Option[Thread]](None) |
141 def interrupt { running.change(opt => { opt.foreach(_.interrupt); opt }) } |
141 def interrupt { running.change(opt => { opt.foreach(_.interrupt); opt }) } |
142 |
142 |
143 private val settings = new GenericRunnerSettings(report_error) |
143 private val settings = new GenericRunnerSettings(report_error) |
144 settings.classpath.value = reconstruct_classpath() |
144 settings.classpath.value = reconstruct_classpath() |
145 |
145 |