Access Linux terminal in Python or Ruby on Rails
Is it possible to get to the command prompt in Python or Ruby on Rails? For python, it seems that it will only run the python terminal and for Ruby on Rails, it either auto starts the server or wont let you run commands which is a problem because I dont know of another way to generate things in Rails.
Do you mean you wanna execute a command in Python/Ruby script or access the ternmal from the script?
@K_log I'm pretty sure the original reply is what you want. It solved my problem. If you open the command pallet (F1 or right click in the code editor) then there is an option in the command pallet called "Open Shell". If you select that, then you'll have 3 splits to the right of your code editor one of which will be that bash terminal that you want where you can type "rails generate scaffold User". I just did this, it works. Hope this helps!
This file cannot be displayed: https://storage.googleapis.com/replit/images/1550837623649_7998791d97db3c8c0ec566f570684a5c.pn