From 84f02cf3ab977c7da5f8c6e60f3d70f2dd52ee55 Mon Sep 17 00:00:00 2001 From: Shane Lee Date: Mon, 25 Mar 2024 15:51:01 -0600 Subject: [PATCH] Add working directory --- bootstrap-salt.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.ps1 b/bootstrap-salt.ps1 index 17dcc1a..e637736 100644 --- a/bootstrap-salt.ps1 +++ b/bootstrap-salt.ps1 @@ -539,9 +539,9 @@ if($Master -ne "not-specified") {$parameters = "$parameters /master=$Master"} #=============================================================================== # Install minion silently #=============================================================================== -#Wait for process to exit before continuing. Write-Host "Installing Salt Minion: " -NoNewline $process = Start-Process $localFile ` + -WorkingDirectory $(Split-Path $test -Parent) ` -ArgumentList "/S /start-service=0 $parameters" ` -NoNewWindow -PassThru