diff --git a/lib/train/transports/local.rb b/lib/train/transports/local.rb index 47e581833..a390ecb22 100644 --- a/lib/train/transports/local.rb +++ b/lib/train/transports/local.rb @@ -187,7 +187,7 @@ def acquire_pipe @server_pid = start_pipe_server(pipe_name) # Ensure process is killed when the Train process exits - at_exit { close } + at_exit { close rescue Errno::EIO } pipe = nil @@ -254,4 +254,4 @@ def start_pipe_server(pipe_name) end end end -end \ No newline at end of file +end