From 0725cd8adaab279d96958ed6af982639cadc3c17 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 8 Dec 2014 06:57:23 +0000 Subject: process: update comment for bug workaround #2 Followup to commit 698e1f04580839ea29647f285b39b88fcbb46071 "process: update comment for bug workaround" --- lib/dtas/process.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/dtas/process.rb b/lib/dtas/process.rb index 020737d..c0ce9a3 100644 --- a/lib/dtas/process.rb +++ b/lib/dtas/process.rb @@ -78,7 +78,8 @@ module DTAS::Process # :nodoc: env = env_expand(env, opts) pid = begin Process.spawn(env, *cmd, opts) - rescue Errno::EINTR # Ruby bug? + rescue Errno::EINTR + # workaround for older Rubies https://bugs.ruby-lang.org/issues/8770 retry end w.close -- cgit v1.2.3-24-ge0c7