From 26859c2ec2a2411223cc3f2b755edca34292e971 Mon Sep 17 00:00:00 2001 From: David Dollar Date: Wed, 22 Dec 2010 13:55:51 -0500 Subject: [PATCH] dont need a log dir --- lib/foreman/engine.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/foreman/engine.rb b/lib/foreman/engine.rb index 4ced5bc..187cea0 100644 --- a/lib/foreman/engine.rb +++ b/lib/foreman/engine.rb @@ -95,12 +95,11 @@ private ###################################################################### 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|