On Nov 24, 2004, at 20:49, Jan Sabbe wrote:
You could add “tell application "TextMate" to activate” as the last command.
Well no, same problem. osascripts waits for textmate to complete, textmate waits for osascript to complete.
Ah, of course. Try instead this command:
osascript >/dev/null 2>&1 -e 'tell application "TextMate" to activate' &
It's important with the stdout/stderr redirection.