summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-14 18:29:46 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-14 18:29:46 -0400
commitb535693a72ed092d447d12f1025108137799be6c (patch)
tree24c0dd8ac715d81a2725ec74da4b8f005e20a6c5 /ci
parent67252ae737dce6a5721b8b8e94c19c151f47e30d (diff)
downloadpython-coveragepy-git-b535693a72ed092d447d12f1025108137799be6c.tar.gz
Put back the Start-Process statements
Diffstat (limited to 'ci')
-rw-r--r--ci/install.ps16
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/install.ps1 b/ci/install.ps1
index e5c27e95..f9934aa1 100644
--- a/ci/install.ps1
+++ b/ci/install.ps1
@@ -153,7 +153,7 @@ function InstallPythonMSI ($msipath, $python_home, $install_log) {
function RunCommand ($command, $command_args) {
Write-Host $command $command_args
- & $command $command_args
+ Start-Process -FilePath $command -ArgumentList $command_args -Wait -Passthru
}
@@ -200,7 +200,7 @@ function InstallMiniconda ($python_version, $architecture, $python_home) {
$install_log = $python_home + ".log"
$args = "/S /D=$python_home"
Write-Host $filepath $args
- & $filepath $args
+ Start-Process -FilePath $filepath -ArgumentList $args -Wait -Passthru
if (Test-Path $python_home) {
Write-Host "Python $python_version ($architecture) installation complete"
} else {
@@ -218,7 +218,7 @@ function InstallMinicondaPip ($python_home) {
Write-Host "Installing pip..."
$args = "install --yes pip"
Write-Host $conda_path $args
- & "$conda_path" $args
+ Start-Process -FilePath "$conda_path" -ArgumentList $args -Wait -Passthru
} else {
Write-Host "pip already installed."
}