Skip to content

Commit 6c14618

Browse files
[windows] refactor pip installation's Python invocation in build.ps1
1 parent 7e95f8b commit 6c14618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ function Get-Dependencies {
13071307
$GetPipURL = "https://bootstrap.pypa.io/get-pip.py"
13081308
$GetPipPath = "$BinaryCache/$FileName/get-pip.py"
13091309
$WebClient.DownloadFile($GetPipURL, $GetPipPath)
1310-
& "$BinaryCache/$FileName/python.exe" $GetPipPath
1310+
Invoke-Program -Silent "$(Get-PythonExecutable)" $GetPipPath
13111311
}
13121312

13131313
function Install-PIPIfNeeded {

0 commit comments

Comments
 (0)