curses
(e.g. programs like htop
)ctrl+c
will be sent to the terminal when the Run Code button is pressed. This will display as ^C
before your script in the terminal, stopping the current program execution with (if there is a program executing) before running the code./bin/bash
. This can also be used to run a startup script, if you prefer to display the script output to the user.