-
Notifications
You must be signed in to change notification settings - Fork 242
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
Unable to use imported subprocess module #372
Comments
I believe this is because of here: https://github.com/kivy/kivy-ios/blob/master/tools/templates/%7B%7B%20cookiecutter.project_name%20%7D%7D-ios/main.m#L158 does this mean that the |
What do you mean by other ways? |
It runs fine when run as |
I'm pretty sure the multi-processing is not supported on iOS. I remember reading a more detailed article, but this link serves to confirm... Multi-processing is something Apple deliberately tries to prevent. From the article below: "Despite iOS being a multitasking OS, it does not support multiple processes for one app." https://medium.com/flawless-app-stories/basics-of-parallel-programming-with-swift-93fee8425287 |
I'm taking the liberty of closing this as it's not a kivy issue. This seems to be a limitation inherent to iOS. Please feel free to re-open if there is any evidence to the contrary. Thanks |
Just a note, simply importing asyncio (what kivy does in master) was using subprocess.PIPE. |
I have a workaround for this:
I have this set right after my |
I've even tried using
subprocess32
as a replacement module, but no matter what I do thesubprocess
module shows up as empty somehow:it exists but doesn't contain anything inside of it.
Here are the files related to subprocess in my kivy-ios app; I've checked them out and the subprocess module appears to exist:
The text was updated successfully, but these errors were encountered: