lib/foreman/engine.rb in foreman-0.10.0 vs lib/foreman/engine.rb in foreman-0.10.1

- old
+ new

@@ -93,15 +93,14 @@ info "started with pid #{pid}", process running_processes[pid] = process end - def run(process, log_to_file=true) + def run(process) proctitle "ruby: foreman #{process.name}" begin Dir.chdir directory do - FileUtils.mkdir_p "log" command = process.command PTY.spawn("#{process.command} 2>&1") do |stdin, stdout, pid| until stdin.eof? info stdin.gets, process