Skip to content

Commit 8859d2c

Browse files
committed
Use the python intepreter from the PEX instead of the system default
1 parent 7e8f5f1 commit 8859d2c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

rake-tasks/buck.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def self.download
1818

1919
if cached_hash == out_hash
2020
# Make sure we're running a pristine buck instance
21-
sh "python \"#{out}\" kill"
22-
return ["python", out]
21+
sh "\"#{out}\" kill"
22+
return [out]
2323
end
2424

2525
url = "https://github.com/SeleniumHQ/buck/releases/download/buck-release-#{version}/buck.pex"
@@ -37,8 +37,8 @@ def self.download
3737

3838
ant.get('src' => url, 'dest' => out, 'verbose' => true)
3939
File.chmod(0755, out)
40-
sh "python \"#{out}\" kill"
41-
["python", out]
40+
sh "\"#{out}\" kill"
41+
[out]
4242
)
4343
end
4444

0 commit comments

Comments
 (0)