mirror of
				https://github.com/ARM-software/devlib.git
				synced 2025-11-04 07:51:21 +00:00 
			
		
		
		
	AndroidTarget: fixed kick_off()
kick_off relies on nohup, which may not work properly unless the command for it is explicitly backgrounded with "&", which was not being done in the AndroidTarget implementation of kick_off().
This commit is contained in:
		@@ -825,7 +825,7 @@ class AndroidTarget(Target):
 | 
			
		||||
        if as_root is None:
 | 
			
		||||
            as_root = self.needs_su
 | 
			
		||||
        try:
 | 
			
		||||
            command = 'cd {} && {} nohup {}'.format(self.working_directory, self.busybox, command)
 | 
			
		||||
            command = 'cd {} && {} nohup {} &'.format(self.working_directory, self.busybox, command)
 | 
			
		||||
            output = self.execute(command, timeout=1, as_root=as_root)
 | 
			
		||||
        except TimeoutError:
 | 
			
		||||
            pass
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user