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

Unit test to demonstrate how to handle a multi-message conversation with child process #21

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

Birch-san
Copy link

Spent a very long time wondering why I had to "end()" stdin to send a message to Python.

Thanks to issue #18 and this StackOverflow answer about flushing Python output, I was able to work it out.

I've now made a JSON knock-knock conversation that (several times) "sends a message, then waits for a reply". You can use this test if you feel like it.

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