-
Notifications
You must be signed in to change notification settings - Fork 152
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
👻emmmm..... Can I realtime print the output line by line when executing ios_popen()
?
#80
Comments
ios_popen()
?
So, does that work? |
@holzschu I hit a breakpoint and found it blocked on this line of code
It took a few seconds to continue., so Then I tried to change the internal implementation of
And then I call this in my app
In this way, the real-time printout is realized. I don't know much about |
Ah, now I understand the question. You could (probably) also make it work by sending the You could also simplify your code with:
and then listen to |
@holzschu |
I am a newbie about this.
Here's my code
It waits for the command to finish before printing the output together
The text was updated successfully, but these errors were encountered: