execute 0.1.17 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cmd.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4758d79abda61aa7963d7beba2851ee29b5b2551
4
- data.tar.gz: c461996dadba997aa3ab6f06e7d9bc869164d2c3
3
+ metadata.gz: 78f796b184fcec8592b83bf5b532eea64764d8a3
4
+ data.tar.gz: 4cf6927fea0ffbe714a66f1d1e3e87dade6bd382
5
5
  SHA512:
6
- metadata.gz: 380a64179fa390c7f08bca12dfbc7824cd88763335513611e4526742339563d8c4bc16957ad7665ab7d56f54a4835f7628515ce9a8b7a339cc4a05ada60df9b1
7
- data.tar.gz: 960537ef527a40bdcbf7af3fc3ec6f8490db164d965c0c377d572fab554144140c0df1e015fe18951b2db1da9a77e75b157eb0ec77bf34b71b09ed2eb9d949df
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: execute
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Marshall