We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4db9fbc commit 10912f3Copy full SHA for 10912f3
core/utils/device/adb.py
@@ -59,7 +59,10 @@ def get_logcat(device_id):
59
command_result = Adb.run_adb_command(command='logcat -d', device_id=device_id, wait=False)
60
time.sleep(15)
61
result = File.read(command_result.log_file)
62
- os.kill(command_result.pid, 0)
+ try:
63
+ os.kill(command_result.pid, 0)
64
+ except OSError:
65
+ Log.info('Process already killed...')
66
return result
67
68
@staticmethod
0 commit comments