rbbt-util 5.23.37 → 5.23.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rbbt/util/cmd.rb +1 -1
- data/lib/rbbt/util/misc/concurrent_stream.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ce625d15c58bd07cdb4850b460a4034d569f691
|
|
4
|
+
data.tar.gz: 30801ee36aab9d59c5e918783021efd8c7239af4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d97c2f99187ee64dcb1f7b3f24deef87b48a250fc9884ba92d0be027aa1e7e624db0193fa1252d48efd75f22ed6c6edc9fe409fdcf7f747993ab5075aa6c811
|
|
7
|
+
data.tar.gz: 0ad3ff30448b979ef9ccee77d7437cd28c0cb5b2cf79cffafa66376d74c5c022261348f9d88f3118827072ed99a2bfe02ec5f9e4749872caac7aa954ba817673
|
data/lib/rbbt/util/cmd.rb
CHANGED
|
@@ -152,7 +152,7 @@ module CMD
|
|
|
152
152
|
serr.close
|
|
153
153
|
end
|
|
154
154
|
|
|
155
|
-
ConcurrentStream.setup sout, :pids => pids, :threads => [in_thread, err_thread].compact, :autojoin => no_wait, :no_fail => no_fail
|
|
155
|
+
ConcurrentStream.setup sout, :pids => pids, :threads => [in_thread, err_thread, wait_thr].compact, :autojoin => no_wait, :no_fail => no_fail
|
|
156
156
|
|
|
157
157
|
sout
|
|
158
158
|
else
|
|
@@ -79,7 +79,10 @@ module ConcurrentStream
|
|
|
79
79
|
@threads.each do |t|
|
|
80
80
|
next if t == Thread.current
|
|
81
81
|
begin
|
|
82
|
-
t.join
|
|
82
|
+
t.join
|
|
83
|
+
if Process::Status === t.value
|
|
84
|
+
raise ProcessFailed.new "Error joining process #{t.pid} in #{self.filename || self.inspect}" if ! (t.value.success? || no_fail)
|
|
85
|
+
end
|
|
83
86
|
rescue Exception
|
|
84
87
|
if no_fail
|
|
85
88
|
Log.low "Not failing on exception joining thread in ConcurrenStream: #{filename}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rbbt-util
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.23.
|
|
4
|
+
version: 5.23.38
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Miguel Vazquez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-12-
|
|
11
|
+
date: 2018-12-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|