launching apps from terminal - 03/07/13 08:23 PM
it seems that changes have been made in 10.8 that killed the "open" command in terminal.
iTech-Demo-2:~ root # open /Applications/Messages.app
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Messages.app.
iTech-Demo-2:~ root # open /Applications/Messages.app/Contents/MacOS/Messages
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Messages.app/Contents/MacOS/Messages.
It seems that Open no longer will open applications from terminal.
iTech-Demo-2:~ root # open /Library/Desktop\ Pictures/Blue\ Pond.jpg
LSOpenURLsWithRole() failed with error -10810 for the file /Library/Desktop Pictures/Blue Pond.jpg.
nor will it open documents.... so is Open completely broken? How do I launch an app? Anyone got an osascript handy? (I assume a tell to Finder or System events or something)
iTech-Demo-2:~ root # open /Applications/Messages.app
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Messages.app.
iTech-Demo-2:~ root # open /Applications/Messages.app/Contents/MacOS/Messages
LSOpenURLsWithRole() failed with error -10810 for the file /Applications/Messages.app/Contents/MacOS/Messages.
It seems that Open no longer will open applications from terminal.
iTech-Demo-2:~ root # open /Library/Desktop\ Pictures/Blue\ Pond.jpg
LSOpenURLsWithRole() failed with error -10810 for the file /Library/Desktop Pictures/Blue Pond.jpg.
nor will it open documents.... so is Open completely broken? How do I launch an app? Anyone got an osascript handy? (I assume a tell to Finder or System events or something)