public runCommand(command as String) as Void:
Runs a command in the active terminal, opening one when needed.
terminal.runCommand("pwd")