Decode shell output befor send message. Fixes #7407
This commit is contained in:
		
							parent
							
								
									08e4ba2ce7
								
							
						
					
					
						commit
						3f70a045f3
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -115,6 +115,6 @@ class Show(Execute):
 | 
			
		|||
        stdout, stderr = cls.fetch(popen)
 | 
			
		||||
        success = popen.returncode == 0
 | 
			
		||||
        if success and stdout:
 | 
			
		||||
            processor.send(stdout)
 | 
			
		||||
            processor.send(stdout.decode('utf8'))
 | 
			
		||||
        elif not success and stderr:
 | 
			
		||||
            processor.echo_error(stderr)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue