maestro_shell 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/util/shell.rb +2 -2
- data/lib/util/version.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: e64d5765872e7cd5ee7577d58f79435f56c76c56
|
4
|
+
data.tar.gz: b00917d18728c744468b1f0f38d2a8ecd8b90b3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23eb28703979cb266c516d74ca891e9974cceb2f9c0d046c5ca3bf4696ebc7a98e80c338aafb15d35c98b4b30640cb0ee01aaf337dd88a0d3ff2a19d8925a3cb
|
7
|
+
data.tar.gz: aeb367603f3b4cf1340df35da8505fa553ab6376915192bae4dcecc81c5f02b6a45c2616be5e977bd1e007f54efabdfb236c13648a9583a21935d4f5abf93f5a
|
data/lib/util/shell.rb
CHANGED
@@ -32,7 +32,7 @@ module Maestro
|
|
32
32
|
COMMAND_SEPARATOR = '&&' # IS_WINDOWS ? '&&' : '&&'
|
33
33
|
SCRIPT_EXTENSION = IS_WINDOWS ? '.bat' : '.shell'
|
34
34
|
SHELL_EXECUTABLE = IS_WINDOWS ? '' : 'bash '
|
35
|
-
COMMAND_SUFFIX = IS_WINDOWS ? '' : ' 2>&1
|
35
|
+
COMMAND_SUFFIX = IS_WINDOWS ? '' : ' 2>&1'
|
36
36
|
|
37
37
|
def Shell.unset_env_variable(var)
|
38
38
|
IS_WINDOWS ? "set #{var}=" : "unset #{var}"
|
@@ -86,7 +86,7 @@ module Maestro
|
|
86
86
|
ready[0].each do |fd|
|
87
87
|
if fd.eof?
|
88
88
|
readers.delete fd
|
89
|
-
|
89
|
+
else
|
90
90
|
|
91
91
|
text = fd.readpartial(1024)
|
92
92
|
out_file.write(text)
|
data/lib/util/version.rb
CHANGED