From 20f6ba15637045c950eecc67be9aea79652f9ecf Mon Sep 17 00:00:00 2001 From: David Dollar Date: Sun, 29 Jan 2012 13:56:57 -0500 Subject: [PATCH] use binary pipes --- lib/foreman/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/foreman/engine.rb b/lib/foreman/engine.rb index e35ea11..6fb5ba5 100644 --- a/lib/foreman/engine.rb +++ b/lib/foreman/engine.rb @@ -58,7 +58,7 @@ private ###################################################################### concurrency = Foreman::Utils.parse_concurrency(@options[:concurrency]) procfile.entries.each do |entry| - reader, writer = IO.pipe + reader, writer = IO.pipe("BINARY") entry.spawn(concurrency[entry.name], writer, @directory, @environment, port_for(entry, 1, base_port)).each do |process| running_processes[process.pid] = process readers[process] = reader