mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +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:
parent
c307ffab15
commit
ca0b6e88a1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user