execute 0.1.51 → 0.1.52
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: d6a15d8efb84c0bca96acd3832af4c228aa810ea
|
4
|
+
data.tar.gz: 9991f75eade05a6952209962673fb70db38c7dca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d965bdfefdb32473e7f59d02b79ac2b09801f9197a0de65aa1cbb3c6e8f3338cdbdeaecd7ca3d59273a060466df9782b39700c77b85c20a64c83372a3228d56
|
7
|
+
data.tar.gz: d5d35ed94ed6a13428434913bd13ccf9fd361ca5e7b3bce4c16a9e41485ce0b65df9b79e477612ebe750f14dc16c366d70ad040534bbaa1e71b1eaf778f12920
|
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(!(char = stream.getc).nil?)
|
97
|
+
if(!stream.closed? && !(char = stream.getc).nil?)
|
98
98
|
case key
|
99
99
|
when :output
|
100
100
|
output << char
|