Method: ClucumberSubprocess#run
- Defined in:
- lib/clucumber.rb
#run ⇒ Object
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/clucumber.rb', line 26 def run set_port Dir.chdir(@dir) do @out, @in, @pid = PTY.spawn(@lisp) end @reader = Thread.start { record_output } cluke_dir = File.("clucumber/", File.dirname(__FILE__)) Dir[cluke_dir + '/**/*.fasl'].each do |fasl| FileUtils.rm(fasl) end @in.puts(<<-LISP) (load #p"#{File.("clucumber/clucumber-bootstrap.lisp", File.dirname(__FILE__))}") LISP end |