use binary pipes

This commit is contained in:
David Dollar
2012-01-29 13:56:57 -05:00
parent 557a08ea77
commit 20f6ba1563
+1 -1
View File
@@ -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