From 20e598abcce655f1952c0eedea89e11ea5c7c384 Mon Sep 17 00:00:00 2001 From: David Dollar Date: Mon, 12 Sep 2011 20:29:49 -0400 Subject: [PATCH] dont use the runner, not needed --- bin/foreman-runner | 2 -- lib/foreman/engine.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100755 bin/foreman-runner diff --git a/bin/foreman-runner b/bin/foreman-runner deleted file mode 100755 index fca2c5e0..00000000 --- a/bin/foreman-runner +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env ruby -exec ARGV.join(" ") diff --git a/lib/foreman/engine.rb b/lib/foreman/engine.rb index f92c38a7..ca9cc650 100644 --- a/lib/foreman/engine.rb +++ b/lib/foreman/engine.rb @@ -113,7 +113,7 @@ def run(process) begin Dir.chdir directory do - PTY.spawn(runner, process.command) do |stdin, stdout, pid| + PTY.spawn(process.command) do |stdin, stdout, pid| trap("SIGTERM") { Process.kill("SIGTERM", pid) } until stdin.eof? info stdin.gets, process