I'm trying to automate some work with an interactive program. Doing
SplitsTree +g
Starts the CLI interactive version of the program which I would normally then enter interactively:
EXECUTE FILE=Asexual_randomSub.nxs
UPDATE
SAVE FILE=output.network
QUIT
How can I feed these commands in? Simply copying the above 6 lines into a .sh file and executing it does not work.