execute 0.1.17 → 0.1.18
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: 78f796b184fcec8592b83bf5b532eea64764d8a3
|
4
|
+
data.tar.gz: 4cf6927fea0ffbe714a66f1d1e3e87dade6bd382
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ad7ca5651ac17ba94d3e4c555ef1c09db0f10bd01eec51f189621dcf71b228ec45e488c0e663adec39993860b6daa11f06e34c6730154fc2e2daff9ad319b48
|
7
|
+
data.tar.gz: 64d76b18235603623de50999f6cacf0ffe9db02801549d7978b9add82ed4d64a09af805ab52a4273baa4d286514e3bd5adc2a953d02999980b5b2ce52ef4a285
|
data/lib/cmd.rb
CHANGED
@@ -37,7 +37,7 @@ class CMD < Hash
|
|
37
37
|
puts cmd if(hash[:echo_command] || hash[:debug])
|
38
38
|
|
39
39
|
output = {output: [], error: [] }
|
40
|
-
Open3.popen3(cmd) do |stdin, stdout, stderr, wait_thr|
|
40
|
+
Open3.popen3(cmd, stdin=STDIN) do |stdin, stdout, stderr, wait_thr|
|
41
41
|
{:output => stdout,:error => stderr}.each do |key, stream|
|
42
42
|
Thread.new do
|
43
43
|
until(char = stream.getc).nil? do
|