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

Allow for Standard Input When Running Code #48

Open
kevinbmccall14 opened this issue Nov 14, 2017 · 1 comment
Open

Allow for Standard Input When Running Code #48

kevinbmccall14 opened this issue Nov 14, 2017 · 1 comment

Comments

@kevinbmccall14
Copy link

Any way you think we could allow for running code that asks for standard input? I would be happy to help code if we can come up with a secure way to do it. Thank you for CompileBox!

Ruby Example:

print "Type in your name: "
name = gets()
puts name
@frenata
Copy link
Contributor

frenata commented Nov 17, 2017

I'm still learning the library, but this currently works. Using the web interface, you can specify STDIN in a separate text box.

Testing your code exactly with a name entered in that box does indeed print 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

No branches or pull requests

2 participants