contrib: log the command and args for every process installing windows deps stable
authorMatt Harbison <matt_harbison@yahoo.com>
Mon, 09 Aug 2021 19:24:46 -0400
branchstable
changeset 47806 fb7d17496aca
parent 47805 6ec897345b87
child 47807 7f220c6f3c81
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
contrib/install-windows-dependencies.ps1
--- 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) {