mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Fixed Python 3.x issue with commandline output from subprocess.Popen
This commit is contained in:
		
							parent
							
								
									88b027ecce
								
							
						
					
					
						commit
						7287478370
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -90,7 +90,7 @@ FPMATH="Default"
 | 
			
		|||
FPMATH_FLAGS="-mfpmath=sse -msse -msse2"
 | 
			
		||||
 | 
			
		||||
def check_output(cmd):
 | 
			
		||||
    return str(subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]).rstrip('\r\n')
 | 
			
		||||
    return (subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]).decode("utf-8").rstrip('\r\n')
 | 
			
		||||
 | 
			
		||||
def git_hash():
 | 
			
		||||
    try:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue