mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	scripts/: Make subprocess calls unicode-aware.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							97d877f49e
						
					
				
				
					commit
					51ea5c1602
				
			@@ -43,7 +43,7 @@ try:
 | 
			
		||||
    logging.info("Unpacking the tarball")
 | 
			
		||||
    unpack_zulip = os.path.realpath(os.path.join(os.path.dirname(__file__), 'unpack-zulip'))
 | 
			
		||||
    deploy_path = subprocess.check_output([unpack_zulip, archived_tarball_path],
 | 
			
		||||
                                          preexec_fn=su_to_zulip)
 | 
			
		||||
                                          preexec_fn=su_to_zulip, universal_newlines=True)
 | 
			
		||||
 | 
			
		||||
    # Chdir to deploy_path and then run upgrade-zulip-stage-2 from the
 | 
			
		||||
    # new version of Zulip (having the upgrade logic run from the new
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user