Do script in Terminal with results returned to Applescript

I’m a bit stuck between “do shell script” and “do script” in terms of the Terminal.app

My goal is to be able to be anywhere in any directory in my current Terminal window. Even ssh shomewhere, and be able to activate an applescript that runs a command. The problem I have is that I need the results to also be returned to the applescript as well as the normal display on my Terminal window.

So when I do:

set theCommand to "ls -lash"

do shell script theCommand

This is great. I get the results back in the applescript.

But if I do:

set theCommand to "ls -lash"

tell application "Terminal"
	activate
	do script theCommand in window 1
end tell

This is also great, in that it performs the command in my front window. But the applescript is not able to receive the results.