Mercurial > hg
changeset 47811:fb7d17496aca stable
contrib: log the command and args for every process installing windows deps
This is a little noisier, but makes it simple to debug when things fail.
Differential Revision: https://phab.mercurial-scm.org/D11272
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 09 Aug 2021 19:24:46 -0400 |
parents | 6ec897345b87 |
children | 7f220c6f3c81 |
files | contrib/install-windows-dependencies.ps1 |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/install-windows-dependencies.ps1 Fri Jul 23 10:47:12 2021 +0200 +++ b/contrib/install-windows-dependencies.ps1 Mon Aug 09 19:24:46 2021 -0400 @@ -91,6 +91,8 @@ } function Invoke-Process($path, $arguments) { + echo "$path $arguments" + $p = Start-Process -FilePath $path -ArgumentList $arguments -Wait -PassThru -WindowStyle Hidden if ($p.ExitCode -ne 0) {