Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(subprocess): wait for process stop in case of None returncode #79

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

jmkerloch
Copy link
Contributor

subprocesse Popen.communicate function should wait for process stop.

It seems that in some cases the process is not finished because a None value was returned by valhalla_build_config command.

We need to wait for process stop before checking returncode.

@jmkerloch jmkerloch added the bug Something isn't working label Mar 28, 2024
@jmkerloch jmkerloch self-assigned this Mar 28, 2024
@jmkerloch jmkerloch requested a review from azarz March 28, 2024 09:26
Copy link

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
1058 402 38% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
r2gg/_subprocess_execution.py 9% 🟢
TOTAL 9% 🟢

updated for commit: 8d4935f by action🐍

@azarz azarz merged commit 256c72e into master Mar 28, 2024
5 checks passed
@azarz azarz deleted the fix/subprocess_returncode branch March 28, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants