mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	utils.android: Separate stdout and stderr by newline
Following what the other connections are doing, make the android connection separate stdout and stderr by a newline.
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							b719808ef2
						
					
				
				
					commit
					f1c8ca1a66
				
			@@ -576,7 +576,7 @@ def adb_shell(device, command, timeout=None, check_exit_code=False,
 | 
			
		||||
                          '-----\nSTDERR:\n-----\n{}\n-----'
 | 
			
		||||
                raise TargetTransientError(message.format(raw_output, error))
 | 
			
		||||
 | 
			
		||||
    return output + error
 | 
			
		||||
    return '\n'.join(x for x in (output, error) if x)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def adb_background_shell(conn, command,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user