execute 0.1.13 → 0.1.14
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: a4d4c888689d37135cedba9dbf61a2963f97066d
|
4
|
+
data.tar.gz: 196a5620ff0582ea455925c8aae841ca0ce29172
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c171bfa381441135ab4e6aa87a3ca0954a97d0e60bd35ec9af359be7a821fdcb09cab20b8eb6b17ccf338c29adeb1a80449b3ddb28fa684408fde3ade6ce20b0
|
7
|
+
data.tar.gz: 9e59c7df1084d4ebb4d4974eed14e5bafc2727212fda6ce7b91491bcf20229998746ecb322f6469814829a0e41d29746bef6a6a5811572616ff31ddc7d45866c
|
data/lib/cmd.rb
CHANGED
@@ -79,10 +79,10 @@ class CMD < Hash
|
|
79
79
|
|
80
80
|
yield
|
81
81
|
|
82
|
-
match = cmd.match(
|
82
|
+
match = cmd.match(/\"(?<path>.+\.exe)/i)
|
83
83
|
return if(match.nil?)
|
84
84
|
|
85
|
-
exe = match
|
85
|
+
exe = match[:path]
|
86
86
|
exe = File.basename(exe)
|
87
87
|
#puts "Exe: #{exe}"
|
88
88
|
|