raykit 0.0.386 → 0.0.387
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/command.rb +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a80020a05d9f3956475e1fb248254ec2555f055311c476aec08fd1b7fc64d60
|
4
|
+
data.tar.gz: c584d553c7d2a14572671a00856b863e5209a20eec2b16f27230437b3ca0785e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b667b122ba6f9e42d9ec5b269ca4cb96585fc7ff161cabcf821284a58a5b72b0ccc844e6f70ca9a357e4b380b9038f6f594a5ec73bd817713d7bcc0d421f2be1
|
7
|
+
data.tar.gz: 57d45c0c24b2687429b97fd2ec9ca1ec2505bc853868709fe57adffeb33187ff0a9d7fbdb94047be7379ab4f022d30a39ffd74bff38c12c780d8f390d6ff9208
|
data/lib/raykit/command.rb
CHANGED
@@ -77,6 +77,12 @@ module Raykit
|
|
77
77
|
rescue IO::WaitReadable
|
78
78
|
rescue EOFError
|
79
79
|
@exitstatus = thread.value.exitstatus
|
80
|
+
until stdout.eof?
|
81
|
+
@output << stdout.read_nonblock(BUFFER_SIZE)
|
82
|
+
end
|
83
|
+
until stderr.eof?
|
84
|
+
@error << stderr.read_nonblock(BUFFER_SIZE)
|
85
|
+
end
|
80
86
|
break
|
81
87
|
end
|
82
88
|
end
|
@@ -205,7 +211,7 @@ module Raykit
|
|
205
211
|
end
|
206
212
|
|
207
213
|
def details
|
208
|
-
puts "exit_code: " + @exitstatus.to_s
|
214
|
+
puts " exit_code: " + @exitstatus.to_s
|
209
215
|
if @output.length > 0
|
210
216
|
@output.lines.each do |line|
|
211
217
|
puts " " + line
|