There was an error while loading. Please reload this page.
1 parent cac7f7a commit 438485cCopy full SHA for 438485c
1 file changed
rake-tasks/buck.rb
@@ -18,8 +18,9 @@ def self.download
18
19
if cached_hash == out_hash
20
# Make sure we're running a pristine buck instance
21
- sh "python \"#{out}\" kill"
22
- return ["python", out]
+ cmd = (windows?) ? ["python", out] : [out]
+ sh cmd.join(" ") + " kill", :verbose => true
23
+ return cmd
24
end
25
26
url = "https://github.com/SeleniumHQ/buck/releases/download/buck-release-#{version}/buck.pex"
@@ -37,8 +38,9 @@ def self.download
37
38
39
ant.get('src' => url, 'dest' => out, 'verbose' => true)
40
File.chmod(0755, out)
41
- ["python", out]
42
43
+ cmd
44
)
45
46
0 commit comments