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
commite41c3b1a1b60d06e9984357ddc7432be2c48edad (patch)
tree2ab791bf37d93eab91fcd2ae91829b232f45000b /ci
parenta7a787a5abcf570b28d329dc40c2a0c4aa25272f (diff)
downloadpython-coveragepy-e41c3b1a1b60d06e9984357ddc7432be2c48edad.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 e5c27e9..f9934aa 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."
}