compilebox
compilebox copied to clipboard
Allow for Standard Input When Running Code
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
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.