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

Use subprocess.run in elf2bin #8799

Merged
merged 3 commits into from
Jan 14, 2023
Merged

Use subprocess.run in elf2bin #8799

merged 3 commits into from
Jan 14, 2023

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented Jan 10, 2023

Properly handle Popen object, it takes care of everything we need to do like .communicate() and handle timeouts. Introduce a small timeout to run so we also know when that happens
Clean-up with pythonic path join and formatting through f"" strings

see #8727

@mcspr mcspr added this to the 3.1.1 milestone Jan 14, 2023
@mcspr mcspr merged commit 6033ed3 into esp8266:master Jan 14, 2023
@mcspr mcspr deleted the elf2bin-check branch January 14, 2023 21:59
hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request Nov 18, 2024
Properly handle Popen object, it takes care of everything we need to do like .communicate() and handle timeouts. Introduce a small timeout to run so we also know when that happens
Clean-up with pythonic path join and formatting through f"" strings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant