how to embed a bash prompt/terminal inside ruby on rails web page?
how to execute a linux command from the web page, and get the output of the ommand?
You must be looking for answers in this question: Terminal on the web browser?
I myself found the right references there.
Why would you do that? :))
It's simple though, since ruby has %x[]
output = %x[#{input}]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With