1. The following hangs forever. The output is there, but the process never completes
PipeableOSProcess waitForCommand: '/usr/bin/osascript -ss -e "tell application \"Safari\" to get source of current tab of window 1"'.
2. The same command in Terminal returns right away.
3. And this works:
PipeableOSProcess waitForCommand: '/usr/bin/osascript -ss -e "tell application \"Safari\" to get window 1"'.
So #2 would seem to rule out a problem with the command, and #3 with the connection between OSProcess and Applescript. I have no idea where to go from here...
sean
Cheers,
Sean