Skip to content

Stdin support in VM? #2716

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

Open
Bubbler-4 opened this issue Jun 18, 2021 · 1 comment
Open

Stdin support in VM? #2716

Bubbler-4 opened this issue Jun 18, 2021 · 1 comment

Comments

@Bubbler-4
Copy link

I'm investigating how I could support something like this interface but running entirely in the browser. This means I have to support feeding stdin into the VM, so that the Python built-ins like input() work on it. Another major requirement is supporting argv but I think it can be fed by manually setting the argv field in the PySettings object when creating the vm::Interpreter.

@jeorb
Copy link

jeorb commented Jun 5, 2025

Any luck with this? I am trying to do the same thing with using stdin in the browser.

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

No branches or pull requests

2 participants