trent 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/command/sh/sh.rb +1 -2
- 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: a21fefc0b5f22d12a24c553deba8f7407ae3e8e82649c00b4c2fd772dd85d478
|
4
|
+
data.tar.gz: bfc28c7a4b7fcb99b45e4087c138f6439ff75a569850d6569c8fc293546edadb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbeae5926416ffec213b212dc1e3ee7de0e6ee0f9783c8dffa0a1e279e1b4f1de83df868f4071d50f0b578d8abb56850c8d9d474ca13c4e239521837ff573d65
|
7
|
+
data.tar.gz: f4609d0e6abf0befd92cf39c0f2f645b1cbcfc6c701cb2a7d1dbffc63b09fa2191513cbbedde143689629d9991930f66ffe73d64b220c869fc9ea04029f6e82e
|
data/CHANGELOG.md
CHANGED
data/lib/command/sh/sh.rb
CHANGED
@@ -10,8 +10,7 @@ class Sh
|
|
10
10
|
def run(command)
|
11
11
|
output = ''
|
12
12
|
exit_status = nil
|
13
|
-
Open3.popen3(command) do |
|
14
|
-
stdin.close
|
13
|
+
Open3.popen3(command) do |_stdin, stdout, stderr, wait_thr|
|
15
14
|
stdout.each_line do |line|
|
16
15
|
puts line
|
17
16
|
output += line
|