path: qt6-base_6.9.2+dfsg-4/libexec/qt-android-runner.py try: pidof_output = subprocess.check_output(f"{adb} shell pidof {package_name}", shell=True) pid = pidof_output.decode().strip() if not pid: status(f"The app \"{package_name}\" has exited") path: qt6-base_6.9.2+dfsg-4/libexec/qt-android-runner.py time.sleep(1) try: pidof_output = subprocess.check_output(f"{adb} shell pidof {package_name}", shell=True) pid = pidof_output.decode().strip() if not pid: path: qt6-base_6.9.2+dfsg-4/libexec/qt-android-runner.py time.sleep(0.5) try: pidof_output = subprocess.check_output(f"{adb} shell pidof {package_name}", shell=True) pid = pidof_output.decode().strip().split()[0] except subprocess.CalledProcessError: path: qt6-base_6.9.2+dfsg-4/libexec/qt-android-runner.py try: pidof_output = subprocess.check_output(f"{adb} shell pidof {package_name}", shell=True) pid = pidof_output.decode().strip().split()[0] except subprocess.CalledProcessError: continue path: qt6-base_6.9.2+dfsg-4/src/tools/androidtestrunner/main.cpp static void obtainSdkVersion() { // SDK version is necessary, as in SDK 23 pidof is broken, so we cannot obtain the pid. // Also, Logcat cannot filter by pid in SDK 23, so we don't offer the --show-logcat option. QByteArray output; path: qt6-base_6.9.2+dfsg-4/coin/instructions/coin_module_test_qnx_start_emulator.yaml while [[ "QEMUPID" -eq 0 ]] do QEMUPID=`pidof qemu-system-x86_64` if [[ "QEMUPID" -eq 0 ]]; then