I have an executable script, let's call it script.py. I am trying to run a series of commands within the terminal starting with
python3 ./differentscript.py console
which will allow me to type in additional commands.
However, I was wondering if this can be automated i.e. have my script somehow output and execute the commands?
Edit: I took a look at the links commented below; can someone provide an example of what this would look like?