Skip to content

Support the text argument to our subprocess helpers #293

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

Merged

Conversation

jonasbardino
Copy link
Contributor

@jonasbardino jonasbardino commented Jul 22, 2025

Support the text argument to our subprocess helpers in order to ease conversion of the default utf8-encoded bytes output to native strings.

Adds basic unit tests for the mig.shared.safeeval module and in particular the added text argument.

Follow-up to issue #288.

conversion of the default utf8-encoded bytes output to native strings.

Follow-up to issue #288.
…he new

`text` arg in particular. Use the `pwd` command for testing assuming that it's
portable across all sane platforms.
@jonasbardino jonasbardino requested review from albu-diku and a team July 22, 2025 16:16
@jonasbardino
Copy link
Contributor Author

I believe this allows a fix for #288 more in line with what we discussed on chat @albu-diku .

I'll merge to get it through to the other places where it's needed (#289, #291, #292, ...), but would still like review feedback if anyone has time.

@jonasbardino jonasbardino merged commit a942503 into next Jul 22, 2025
7 checks passed
@jonasbardino jonasbardino deleted the add/support-for-passing-text-arg-to-subprocess-helpers branch July 22, 2025 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant