execute 0.1.50 → 0.1.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cmd.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33da98100d6d789e7ceb01995b8bb47629a206d4
|
4
|
+
data.tar.gz: 4e003842eaf06a215299b26623fb11212ad51a26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 829d1c964b5fd8fccbf62b5a9de4a7f8731f16b2691270ea5a862ea81e33f1cf1f6774bfb13d0722303f69d410342aeda686dd4d050f8628cf0559c0a3795524
|
7
|
+
data.tar.gz: 6966284e573565ffc0a5cf4085fc065c22a9f34ed0b07918dbfa773c888361bfa3001d1ca1386ca5a38f435ee41bed3333cfcf13791741bed0a1160b8ff56822
|
data/lib/cmd.rb
CHANGED
@@ -94,7 +94,7 @@ class CMD < Hash
|
|
94
94
|
{:output => stdout,:error => stderr}.each do |key, stream|
|
95
95
|
Thread.new do
|
96
96
|
while wait_thr.alive? && !key?(:timed_out) do
|
97
|
-
if(!
|
97
|
+
if(!(char = stream.getc).nil?)
|
98
98
|
case key
|
99
99
|
when :output
|
100
100
|
output << char
|