Setup Installer CI (#25184), (#25191) Co-authored-by: Zack Galbreath <zack.galbreath@kitware.com> Co-authored-by: lou.lawrence@kitware.com <lou.lawrence@kitware.com> Co-authored-by: Betsy McPhail <betsy.mcphail@kitware.com>
		
			
				
	
	
		
			8 lines
		
	
	
		
			249 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			249 B
		
	
	
	
		
			PowerShell
		
	
	
	
	
	
$ proc = Start-Process  ${{ env.spack_installer }}\spack.exe "/install /quiet" -Passthru
 | 
						|
$handle = $proc.Handle # cache proc.Handle
 | 
						|
$proc.WaitForExit();
 | 
						|
 | 
						|
if ($proc.ExitCode -ne 0) {
 | 
						|
    Write-Warning "$_ exited with status code $($proc.ExitCode)"
 | 
						|
}
 |