Add working directory

This commit is contained in:
Shane Lee 2024-03-25 15:51:01 -06:00
parent a0c99153f9
commit 84f02cf3ab
No known key found for this signature in database
GPG key ID: 9B77EE3C5C0D9F63

View file

@ -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