|  |  | @ -12,11 +12,7 @@ function Get-CommandResult { | 
			
		
	
		
		
			
				
					
					|  |  |  |         [switch] $Multiline |  |  |  |         [switch] $Multiline | 
			
		
	
		
		
			
				
					
					|  |  |  |     ) |  |  |  |     ) | 
			
		
	
		
		
			
				
					
					|  |  |  |     # CMD trick to suppress and show error output because some commands write to stderr (for example, "python --version") |  |  |  |     # CMD trick to suppress and show error output because some commands write to stderr (for example, "python --version") | 
			
		
	
		
		
			
				
					
					|  |  |  |     If ($IsWindows) { |  |  |  |     $output = & bash -c "$Command 2>&1" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         [string[]]$output = & $env:comspec /c "$Command 2>&1" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     } else { |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         $output = & bash -c "$Command 2>&1" |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     $exitCode = $LASTEXITCODE |  |  |  |     $exitCode = $LASTEXITCODE | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     return @{ |  |  |  |     return @{ | 
			
		
	
	
		
		
			
				
					|  |  | 
 |