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

Andrew/mac subprocess fix #95

Merged
merged 27 commits into from
Oct 1, 2024
Merged

Andrew/mac subprocess fix #95

merged 27 commits into from
Oct 1, 2024

Conversation

ayjayt
Copy link
Collaborator

@ayjayt ayjayt commented Sep 27, 2024

Mac is throwing some weird errors that linux doesn't throw for

asyncio.create_subprocess_exe

Windows doesn't like that one either, fitting in with python's shoddy support of other OSes.

Let's go with a standard suprocess.Popen with an asyncio.to_thread and see how it goes.

it wasn't that, it was mac not handling a Path without str() casting which is probably regrestive on their part but is good practice on our part to be explicit anyway

@ayjayt ayjayt force-pushed the andrew/mac-subprocess-fix branch from 6bad539 to 3d37467 Compare September 27, 2024 20:16
@ayjayt ayjayt mentioned this pull request Sep 27, 2024
@ayjayt
Copy link
Collaborator Author

ayjayt commented Sep 28, 2024

this guy builds on which_windows

@ayjayt ayjayt requested a review from neyberson September 28, 2024 02:07
devtools/system.py Outdated Show resolved Hide resolved
Wasn't necessary, Popen() communicates the arguments properly to mac w/o
escaping the spaces.
@ayjayt ayjayt merged commit 1f81363 into main Oct 1, 2024
4 checks passed
@ayjayt ayjayt deleted the andrew/mac-subprocess-fix branch October 1, 2024 17:27
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.

2 participants