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

--
View this message in context: 
http://forum.world.st/Weird-result-with-OSProcess-and-Applescript-tp4415603p4415603.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to