mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	connection: Use -- in kill command
Separate options and PGIDS with -- in kill commands as otherwise, kill seems to be confused.
This commit is contained in:
		
				
					committed by
					
						
						Marc Bonnici
					
				
			
			
				
	
			
			
			
						parent
						
							bdb04aa8d0
						
					
				
				
					commit
					2b38548463
				
			@@ -36,7 +36,7 @@ _KILL_TIMEOUT = 3
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def _kill_pgid_cmd(pgid, sig, busybox):
 | 
			
		||||
    return '{} kill -{} -{}'.format(busybox, sig.value, pgid)
 | 
			
		||||
    return '{} kill -{} -- -{}'.format(busybox, sig.value, pgid)
 | 
			
		||||
 | 
			
		||||
def _popen_communicate(bg, popen, input, timeout):
 | 
			
		||||
    try:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user