Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Fix android bg - #587

Closed
douglas-raillard-arm wants to merge 2 commits into
ARM-software:masterfrom
douglas-raillard-arm:fix_android_bg
Closed

douglas-raillard-arm wants to merge 2 commits into
ARM-software:masterfrom
douglas-raillard-arm:fix_android_bg

Conversation

@douglas-raillard-arm

Copy link
Copy Markdown
Collaborator

Splitting this change from the async PR as the async PR no longer relies on background():
#569

Close the race between the background command and the detection of its
PID by freezing it while we detect the PID, then resuming it.
PID detection can sometimes fail for unknown reason. Maybe there is a
latency between the process being started and "ps" being able to see it
that can sometimes be high enough that we look for the process before
it's exposed.

In order to remedy that, add a retry logic to avoid plain failures.
@douglas-raillard-arm

Copy link
Copy Markdown
Collaborator Author

@marcbonnici it looks like the branch was merged in master but this PR is still open, have you done it manually and should we just close the PR ?

@marcbonnici

Copy link
Copy Markdown
Collaborator

Ah it looks like these changes was accidentally merged as part of #639 so it looks like we can close this for now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants