execute 0.1.19 → 0.1.20
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 +2 -2
- 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: 9dfc9c1ddde387fbe5d1007431ae313171bfa0a4
|
4
|
+
data.tar.gz: 12df9f497fbb12b280e1bbe31baa1fd19faa4d7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6aed75ecd990c86282d4e4f8bd46fa9364d7b1f816198a1e554a6b3449abe5032dd52f63021376af224824f67a16be040b0bf998702dc253d96e0dea61625181
|
7
|
+
data.tar.gz: 51f719d32192612ab418892447ef28536612bb558ae86e4e9ffede54a830b4fe907c20b7abbbe3a10f30f8ffd2ccded3bbbd533e413ac21c75b95d405ea0dc3d
|
data/lib/cmd.rb
CHANGED
@@ -67,8 +67,8 @@ class CMD < Hash
|
|
67
67
|
end
|
68
68
|
|
69
69
|
wait_thr.join
|
70
|
-
hash[:output] = output[:output].join
|
71
|
-
hash[:error] = output[:error].join
|
70
|
+
hash[:output] = output[:output].join unless(output[:output].empty?)
|
71
|
+
hash[:error] = output[:error].join unless(output[:output].empty?)
|
72
72
|
hash[:exit_code] = wait_thr.value.to_i
|
73
73
|
end
|
74
74
|
rescue Exception => e
|