I know a command to start new termux session with cmdline:
am startservice -n com.termux/.app.TermuxService -a com.termux.service_execute --ez com.termux.app.failsafe_session false
But how to start it with a command/commands, like using
cmd /k
on Windows?
I tried ChatGPT’s commands, like
am startservice -n com.termux/.app.TermuxService -a com.termux.service_execute --es "com.termux.execute.command" "echo 'CAT'"
But the new session is still empty
What should I do?