Change the way get_output should work @ pty
exec_shell_command uses PTY